mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
treat clang 3.x and 4.x as independent release streams
This commit is contained in:
@@ -975,7 +975,9 @@ dns_tsig_sign(dns_message_t *msg) {
|
||||
goto cleanup_context;
|
||||
}
|
||||
#if defined(__clang__) && \
|
||||
( __clang_major__ < 4 || (__clang_major__ == 4 && __clang_minor__ < 2))
|
||||
( __clang_major__ < 3 || \
|
||||
(__clang_major__ == 3 && __clang_minor__ < 2) || \
|
||||
(__clang_major__ == 4 && __clang_minor__ < 2))
|
||||
/* false positive: http://llvm.org/bugs/show_bug.cgi?id=14461 */
|
||||
else memset(&querytsig, 0, sizeof(querytsig));
|
||||
#endif
|
||||
@@ -1235,7 +1237,9 @@ dns_tsig_verify(isc_buffer_t *source, dns_message_t *msg,
|
||||
return (ret);
|
||||
}
|
||||
#if defined(__clang__) && \
|
||||
( __clang_major__ < 4 || (__clang_major__ == 4 && __clang_minor__ < 2))
|
||||
( __clang_major__ < 3 || \
|
||||
(__clang_major__ == 3 && __clang_minor__ < 2) || \
|
||||
(__clang_major__ == 4 && __clang_minor__ < 2))
|
||||
/* false positive: http://llvm.org/bugs/show_bug.cgi?id=14461 */
|
||||
else memset(&querytsig, 0, sizeof(querytsig));
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user