mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
openssl: remove redundant assignment
Fixes a scan-build failure on Bionic. Closes https://github.com/curl/curl/pull/4872
This commit is contained in:
parent
27956e9634
commit
5cd0f5cc7f
@ -2212,7 +2212,6 @@ set_ssl_version_min_max(SSL_CTX *ctx, struct connectdata *conn)
|
|||||||
curl_ssl_version_max = SSL_CONN_CONFIG(version_max);
|
curl_ssl_version_max = SSL_CONN_CONFIG(version_max);
|
||||||
|
|
||||||
/* convert cURL max SSL version option to OpenSSL constant */
|
/* convert cURL max SSL version option to OpenSSL constant */
|
||||||
ossl_ssl_version_max = 0;
|
|
||||||
switch(curl_ssl_version_max) {
|
switch(curl_ssl_version_max) {
|
||||||
case CURL_SSLVERSION_MAX_TLSv1_0:
|
case CURL_SSLVERSION_MAX_TLSv1_0:
|
||||||
ossl_ssl_version_max = TLS1_VERSION;
|
ossl_ssl_version_max = TLS1_VERSION;
|
||||||
|
Loading…
Reference in New Issue
Block a user