From e08c0cd3275727978b69a1087bcebe0e38a5c9c9 Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Sat, 11 Mar 2017 16:09:38 -0500 Subject: mbedtls: fix typo in variable name Broken a few days ago in 6448f98. Bug: https://curl.haxx.se/mail/lib-2017-03/0015.html --- lib/vtls/mbedtls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls/mbedtls.c') diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index dbcb1690c..b13171363 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; -- cgit v1.2.3