]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
mbedtls: fix typo in variable name
authorThomas Glanzmann <thomas@glanzmann.de>
Sat, 11 Mar 2017 21:09:38 +0000 (16:09 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 11 Mar 2017 22:19:59 +0000 (17:19 -0500)
Broken a few days ago in 6448f98.

Bug: https://curl.haxx.se/mail/lib-2017-03/0015.html

lib/vtls/mbedtls.c

index dbcb1690cc99bcbf095a4d15ee134d7986061b48..b131713635b169587554f4e91b021edae6a34c50 100644 (file)
@@ -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;