summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinoguchi <>2020-09-09 13:08:38 +0000
committerinoguchi <>2020-09-09 13:08:38 +0000
commit77760dcc577058c370455899ecfca2fc4d012a27 (patch)
tree272ef58e31568d3492fad68978944705ea6355ba /src
parent271a3d301ed96d1d8b3922e3d87fd84ba0337145 (diff)
downloadopenbsd-77760dcc577058c370455899ecfca2fc4d012a27.tar.gz
openbsd-77760dcc577058c370455899ecfca2fc4d012a27.tar.bz2
openbsd-77760dcc577058c370455899ecfca2fc4d012a27.zip
Change SSLv23_client_method to TLS_client_method openssl(1) ocsp
Diffstat (limited to 'src')
-rw-r--r--src/usr.bin/openssl/ocsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/openssl/ocsp.c b/src/usr.bin/openssl/ocsp.c
index f954829221..fc2e08bed4 100644
--- a/src/usr.bin/openssl/ocsp.c
+++ b/src/usr.bin/openssl/ocsp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ocsp.c,v 1.17 2020/09/09 13:04:23 inoguchi Exp $ */ 1/* $OpenBSD: ocsp.c,v 1.18 2020/09/09 13:08:38 inoguchi 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 2000. 3 * project 2000.
4 */ 4 */
@@ -1479,7 +1479,7 @@ process_responder(BIO *err, OCSP_REQUEST *req,
1479 BIO_set_conn_port(cbio, port); 1479 BIO_set_conn_port(cbio, port);
1480 if (use_ssl == 1) { 1480 if (use_ssl == 1) {
1481 BIO *sbio; 1481 BIO *sbio;
1482 ctx = SSL_CTX_new(SSLv23_client_method()); 1482 ctx = SSL_CTX_new(TLS_client_method());
1483 if (ctx == NULL) { 1483 if (ctx == NULL) {
1484 BIO_printf(err, "Error creating SSL context.\n"); 1484 BIO_printf(err, "Error creating SSL context.\n");
1485 goto end; 1485 goto end;