summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src/crypto
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-06-11 15:44:10 +0000
committerjsing <jsing@openbsd.org>2014-06-11 15:44:10 +0000
commit69fce12f1e732d267df2130b70d1e11c27c3c731 (patch)
tree94e2a053e69b580e76cf6b2503b6470b23c0e4a2 /lib/libssl/src/crypto
parentTsk. Tsk. Someone forgot to compile test the other half. (diff)
downloadwireguard-openbsd-69fce12f1e732d267df2130b70d1e11c27c3c731.tar.xz
wireguard-openbsd-69fce12f1e732d267df2130b70d1e11c27c3c731.zip
Stop setting the EVP_MD_CTX_FLAG_NON_FIPS_ALLOW - it has been ignored since
OpenSSL 1.0.0. ok miod@ (a little while back)
Diffstat (limited to 'lib/libssl/src/crypto')
-rw-r--r--lib/libssl/src/crypto/x509/x509_cmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libssl/src/crypto/x509/x509_cmp.c b/lib/libssl/src/crypto/x509/x509_cmp.c
index b6b3423e3fd..8877c6e2842 100644
--- a/lib/libssl/src/crypto/x509/x509_cmp.c
+++ b/lib/libssl/src/crypto/x509/x509_cmp.c
@@ -258,7 +258,6 @@ X509_NAME_hash_old(X509_NAME *x)
/* Make sure X509_NAME structure contains valid cached encoding */
i2d_X509_NAME(x, NULL);
EVP_MD_CTX_init(&md_ctx);
- EVP_MD_CTX_set_flags(&md_ctx, EVP_MD_CTX_FLAG_NON_FIPS_ALLOW);
if (EVP_DigestInit_ex(&md_ctx, EVP_md5(), NULL) &&
EVP_DigestUpdate(&md_ctx, x->bytes->data, x->bytes->length) &&
EVP_DigestFinal_ex(&md_ctx, md, NULL))