summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinoguchi <inoguchi@openbsd.org>2020-09-09 13:08:38 +0000
committerinoguchi <inoguchi@openbsd.org>2020-09-09 13:08:38 +0000
commit5eedcc547c8022a0cd3657d9b55b81304f1b4f05 (patch)
tree967c072cce87c1f96c09781cdebc3205170d2d0d
parentRemove space between pointer '*' and variable name in ocsp.c (diff)
downloadwireguard-openbsd-5eedcc547c8022a0cd3657d9b55b81304f1b4f05.tar.xz
wireguard-openbsd-5eedcc547c8022a0cd3657d9b55b81304f1b4f05.zip
Change SSLv23_client_method to TLS_client_method openssl(1) ocsp
-rw-r--r--usr.bin/openssl/ocsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/openssl/ocsp.c b/usr.bin/openssl/ocsp.c
index f954829221b..fc2e08bed48 100644
--- a/usr.bin/openssl/ocsp.c
+++ b/usr.bin/openssl/ocsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ocsp.c,v 1.17 2020/09/09 13:04:23 inoguchi Exp $ */
+/* $OpenBSD: ocsp.c,v 1.18 2020/09/09 13:08:38 inoguchi Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 2000.
*/
@@ -1479,7 +1479,7 @@ process_responder(BIO *err, OCSP_REQUEST *req,
BIO_set_conn_port(cbio, port);
if (use_ssl == 1) {
BIO *sbio;
- ctx = SSL_CTX_new(SSLv23_client_method());
+ ctx = SSL_CTX_new(TLS_client_method());
if (ctx == NULL) {
BIO_printf(err, "Error creating SSL context.\n");
goto end;