summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-04-24 18:10:12 +0000
committertb <>2021-04-24 18:10:12 +0000
commitca2a0baae4895fc7e2315d23e3758c1df3058d3d (patch)
treebdce527697a5fd00692df90c50ee610faf1918ea /src
parent777b505a456bbda5e25f97f870753c6e18430654 (diff)
downloadopenbsd-ca2a0baae4895fc7e2315d23e3758c1df3058d3d.tar.gz
openbsd-ca2a0baae4895fc7e2315d23e3758c1df3058d3d.tar.bz2
openbsd-ca2a0baae4895fc7e2315d23e3758c1df3058d3d.zip
Enable the new verifier again so hopefully the remaining kinks get ironed
out in this release cycles. discussed with deraadt and jsing
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/x509/x509_vpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vpm.c b/src/lib/libcrypto/x509/x509_vpm.c
index 2907448d55..aaf0a57dcb 100644
--- a/src/lib/libcrypto/x509/x509_vpm.c
+++ b/src/lib/libcrypto/x509/x509_vpm.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_vpm.c,v 1.25 2021/04/15 14:15:03 tb Exp $ */ 1/* $OpenBSD: x509_vpm.c,v 1.26 2021/04/24 18:10:12 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2004. 3 * project 2004.
4 */ 4 */
@@ -178,7 +178,7 @@ x509_verify_param_zero(X509_VERIFY_PARAM *param)
178 param->trust = 0; 178 param->trust = 0;
179 /*param->inh_flags = X509_VP_FLAG_DEFAULT;*/ 179 /*param->inh_flags = X509_VP_FLAG_DEFAULT;*/
180 param->inh_flags = 0; 180 param->inh_flags = 0;
181 param->flags = X509_V_FLAG_LEGACY_VERIFY; 181 param->flags = 0;
182 param->depth = -1; 182 param->depth = -1;
183 if (param->policies) { 183 if (param->policies) {
184 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); 184 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free);