diff options
author | 2020-09-14 07:32:05 +0000 | |
---|---|---|
committer | 2020-09-14 07:32:05 +0000 | |
commit | b9c43762ee92cead6e5236b3d70c275088956bbf (patch) | |
tree | f7af003c2b3a4f2f7cf765343c85fe95b69467ad | |
parent | Fix comment, ktrace flags are per-process. (diff) | |
download | wireguard-openbsd-b9c43762ee92cead6e5236b3d70c275088956bbf.tar.xz wireguard-openbsd-b9c43762ee92cead6e5236b3d70c275088956bbf.zip |
revert previous, need to fix a problem
-rw-r--r-- | lib/libcrypto/x509/x509_vpm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_vpm.c b/lib/libcrypto/x509/x509_vpm.c index 2c02b7bb74c..e637528705f 100644 --- a/lib/libcrypto/x509/x509_vpm.c +++ b/lib/libcrypto/x509/x509_vpm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_vpm.c,v 1.20 2020/09/14 07:09:06 beck Exp $ */ +/* $OpenBSD: x509_vpm.c,v 1.21 2020/09/14 07:32:05 beck Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2004. */ @@ -178,6 +178,8 @@ x509_verify_param_zero(X509_VERIFY_PARAM *param) /*param->inh_flags = X509_VP_FLAG_DEFAULT;*/ param->inh_flags = 0; param->flags = 0; + /* XXX remove to enable new verifier by default */ + param->flags |= X509_V_FLAG_LEGACY_VERIFY; param->depth = -1; if (param->policies) { sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); |