X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Focsp.c;h=1a3d1a3980b8131fd7c6846e88621f8011c0a692;hp=156fe32199b2c6e17fd8bb3d9b30f6a57291b106;hb=e9f47de1f009b523635c0f4dc083e6acb3e56a71;hpb=6a7a4a4e19a339889e8238b6b23b5d3c010a0361 diff --git a/apps/ocsp.c b/apps/ocsp.c index 156fe32199..1a3d1a3980 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -1448,16 +1448,7 @@ OCSP_RESPONSE *process_responder(BIO *err, OCSP_REQUEST *req, if (use_ssl == 1) { BIO *sbio; -#if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3) ctx = SSL_CTX_new(SSLv23_client_method()); -#elif !defined(OPENSSL_NO_SSL3) - ctx = SSL_CTX_new(SSLv3_client_method()); -#elif !defined(OPENSSL_NO_SSL2) - ctx = SSL_CTX_new(SSLv2_client_method()); -#else - BIO_printf(err, "SSL is disabled\n"); - goto end; -#endif if (ctx == NULL) { BIO_printf(err, "Error creating SSL context.\n");