* Bitmask fix in EDNS handling
* Fixed non-fqdn domain name completion for rdata field domain
names of length 1
- * Fixed chasing with SHA256 DS records
-
+ * Fixed chain validation with SHA256 DS records
1.6.0
Additions:
ACX_WITH_SSL_OPTIONAL
+AC_CHECK_FUNC([EVP_sha256], AC_DEFINE_UNQUOTED([HAVE_EVP_SHA256], [1], [Define this when there is EVP_SHA256 support]))
+
# Use libtool
ACX_LIBTOOL_C_ONLY
/* these are the mandatory algorithms from RFC4635 */
/* The optional algorithms are not yet implemented */
if (strlen(name) == 12 && strncasecmp(name, "hmac-sha256.", 11) == 0) {
-#ifdef USE_SHA2
+#ifdef HAVE_EVP_SHA256
return EVP_sha256();
#else
- return NULL;
+ return NULL;
#endif
} else if (strlen(name) == 10 && strncasecmp(name, "hmac-sha1.", 9) == 0)
return EVP_sha1();