mirror of
https://github.com/curl/curl.git
synced 2026-04-15 03:11:41 +03: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
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue