Loading lib/vtls/openssl.c +11 −0 Original line number Diff line number Diff line Loading @@ -1599,6 +1599,17 @@ ossl_connect_step1(struct connectdata *conn, break; #endif #ifndef OPENSSL_NO_SSL2 case CURL_SSLVERSION_SSLv2: ctx_options |= SSL_OP_NO_SSLv3; ctx_options |= SSL_OP_NO_TLSv1; #if OPENSSL_VERSION_NUMBER >= 0x1000100FL ctx_options |= SSL_OP_NO_TLSv1_1; ctx_options |= SSL_OP_NO_TLSv1_2; #endif break; #endif default: failf(data, "Unsupported SSL protocol version"); return CURLE_SSL_CONNECT_ERROR; Loading Loading
lib/vtls/openssl.c +11 −0 Original line number Diff line number Diff line Loading @@ -1599,6 +1599,17 @@ ossl_connect_step1(struct connectdata *conn, break; #endif #ifndef OPENSSL_NO_SSL2 case CURL_SSLVERSION_SSLv2: ctx_options |= SSL_OP_NO_SSLv3; ctx_options |= SSL_OP_NO_TLSv1; #if OPENSSL_VERSION_NUMBER >= 0x1000100FL ctx_options |= SSL_OP_NO_TLSv1_1; ctx_options |= SSL_OP_NO_TLSv1_2; #endif break; #endif default: failf(data, "Unsupported SSL protocol version"); return CURLE_SSL_CONNECT_ERROR; Loading