Skip to content
Permalink
Browse files

openssl: remove redundant assignment

Fixes a scan-build failure on Bionic.

Closes #4872
  • Loading branch information
MarcelRaad committed Feb 2, 2020
1 parent 27956e9 commit 5cd0f5cc7fbbb4d0bf098b2eb95611eb7b987eff
Showing with 0 additions and 1 deletion.
  1. +0 −1 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;

0 comments on commit 5cd0f5c

Please sign in to comment.
You can’t perform that action at this time.