Rough edge to clean up

Hal Murray hmurray at megapathdsl.net
Mon Jan 30 09:33:20 UTC 2017


EVP_MD_CTX_FLAG_NON_FIPS_ALLOW is only used in libntp/macencrypt.c

        EVP_MD_CTX_init(&ctx);
#ifdef EVP_MD_CTX_FLAG_NON_FIPS_ALLOW
        /* MD5 is not used as a crypto hash here. */
        EVP_MD_CTX_set_flags(&ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
#endif
        if (!EVP_DigestInit_ex(&ctx, EVP_md5(), NULL)) {

That's in addr2refid for hashing IPv6 addresses to fit into a 4 byte slot.

Either we don't need that, or we need it in other places.


-- 
These are my opinions.  I hate spam.





More information about the devel mailing list