+25 June 2012: Wouter
+ - disable RSAMD5 if in FIPS mode (when compiled with openssl).
+
22 June 2012: Wouter
- implement DS records, NSEC3 and ECDSA for compile with libnss.
dnskey_algo_id_is_supported(int id)
{
switch(id) {
+ case LDNS_RSAMD5:
+ /* openssl can return if the system is in FIPS mode,
+ * which does not allow MD5 hashes for network traffic */
+ return !FIPS_mode();
case LDNS_DSA:
case LDNS_DSA_NSEC3:
case LDNS_RSASHA1:
case LDNS_RSASHA1_NSEC3:
- case LDNS_RSAMD5:
#if defined(HAVE_EVP_SHA256) && defined(USE_SHA2)
case LDNS_RSASHA256:
#endif