From: Thomas Glanzmann Date: Sat, 11 Mar 2017 21:09:38 +0000 (-0500) Subject: mbedtls: fix typo in variable name X-Git-Tag: curl-7_54_0~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e08c0cd3275727978b69a1087bcebe0e38a5c9c9;p=thirdparty%2Fcurl.git mbedtls: fix typo in variable name Broken a few days ago in 6448f98. Bug: https://curl.haxx.se/mail/lib-2017-03/0015.html --- diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index dbcb1690cc..b131713635 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -159,7 +159,7 @@ static Curl_send mbed_send; static CURLcode mbedtls_version_from_curl(int *mbedver, long version) { - switch(ssl_version) { + switch(version) { case CURL_SSLVERSION_TLSv1_0: *mbedver = MBEDTLS_SSL_MINOR_VERSION_1; return CURLE_OK;