summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2020-09-14 07:32:06 +0000
committerBob Beck <beck@cvs.openbsd.org>2020-09-14 07:32:06 +0000
commit2d05a9c3ecf52491b613e5da012915c6e7fd19bb (patch)
treecbfa462cc152e385882cfb90cd97f47f8ddfdf97 /lib/libcrypto
parente4acd7494fab69764022091b9a3ccef88107eaf0 (diff)
revert previous, need to fix a problem
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/x509/x509_vpm.c4
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);