#define UNIT_TESTING
#include <cmocka.h>
-#include <isc/util.h>
-
#include <isc/mem.h>
#include <isc/print.h>
+#include <isc/util.h>
#include <dns/rdatalist.h>
#include <dns/rdataset.h>
#ifndef PK11_MD5_DISABLE
assert_false(dns__tsig_algallocated(DNS_TSIG_HMACMD5_NAME));
#endif
- assert_false(dns__tsig_algallocated(DNS_TSIG_HMACMD5_NAME));
assert_false(dns__tsig_algallocated(DNS_TSIG_HMACSHA1_NAME));
assert_false(dns__tsig_algallocated(DNS_TSIG_HMACSHA224_NAME));
assert_false(dns__tsig_algallocated(DNS_TSIG_HMACSHA256_NAME));
}
#else /* !PK11_MD5_DISABLE */
+
+#include <isc/util.h>
+
EMPTY_TRANSLATION_UNIT
+
#endif /* PK11_MD5_DISABLE */
#include <isc/safe.h>
#include <isc/string.h>
#include <isc/types.h>
+#include <isc/util.h>
#if PKCS11CRYPTO
#include <pk11/internal.h>
#include <pk11/pk11.h>
#endif
-#include <isc/util.h>
-
#ifdef ISC_PLATFORM_OPENSSLHASH
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
#define EVP_MD_CTX_new() &(ctx->_ctx)
}
#else /* !PK11_MD5_DISABLE */
+
+#include <isc/util.h>
+
EMPTY_TRANSLATION_UNIT
+
#endif /* PK11_MD5_DISABLE */