diff options
author | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-02-02 13:35:54 +0100 |
---|---|---|
committer | Marcel Raad <Marcel.Raad@teamviewer.com> | 2020-02-03 14:20:51 +0100 |
commit | 5cd0f5cc7fbbb4d0bf098b2eb95611eb7b987eff (patch) | |
tree | 07866eb9364e0e5cac2f030aab9ca1aaa960deec /lib | |
parent | 27956e9634a00c18d1626504e26025622bcb5708 (diff) |
openssl: remove redundant assignment
Fixes a scan-build failure on Bionic.
Closes https://github.com/curl/curl/pull/4872
Diffstat (limited to 'lib')
-rw-r--r-- | lib/vtls/openssl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index 3c4066cdc..1d09cadca 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2212,7 +2212,6 @@ set_ssl_version_min_max(SSL_CTX *ctx, struct connectdata *conn) curl_ssl_version_max = SSL_CONN_CONFIG(version_max); /* convert cURL max SSL version option to OpenSSL constant */ - ossl_ssl_version_max = 0; switch(curl_ssl_version_max) { case CURL_SSLVERSION_MAX_TLSv1_0: ossl_ssl_version_max = TLS1_VERSION; |