summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-10-21 14:31:21 +0000
committertb <>2021-10-21 14:31:21 +0000
commitb943237c7d055c8c8725be3a8f6b174479688788 (patch)
treea8975a8047550a2c893ef760fba12d0effa82156 /src
parentb88b3d86e88503bc42f456f4a11d85ff1ab66633 (diff)
downloadopenbsd-b943237c7d055c8c8725be3a8f6b174479688788.tar.gz
openbsd-b943237c7d055c8c8725be3a8f6b174479688788.tar.bz2
openbsd-b943237c7d055c8c8725be3a8f6b174479688788.zip
Switch from X509_VERIFY_PARAM_set_flags() to X509_STORE_set_flags().
This reduces the number of reacharounds into libcrypto internals. ok jsing
Diffstat (limited to 'src')
-rw-r--r--src/lib/libtls/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls.c b/src/lib/libtls/tls.c
index 650610a515..608f0a3acd 100644
--- a/src/lib/libtls/tls.c
+++ b/src/lib/libtls/tls.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.c,v 1.91 2021/10/21 08:31:51 tb Exp $ */ 1/* $OpenBSD: tls.c,v 1.92 2021/10/21 14:31:21 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -631,7 +631,7 @@ tls_configure_ssl_verify(struct tls *ctx, SSL_CTX *ssl_ctx, int verify)
631 } 631 }
632 xi->crl = NULL; 632 xi->crl = NULL;
633 } 633 }
634 X509_VERIFY_PARAM_set_flags(store->param, 634 X509_STORE_set_flags(store,
635 X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL); 635 X509_V_FLAG_CRL_CHECK | X509_V_FLAG_CRL_CHECK_ALL);
636 } 636 }
637 637