aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/mbedtls.c
diff options
context:
space:
mode:
authorThomas Glanzmann <thomas@glanzmann.de>2017-03-11 16:09:38 -0500
committerJay Satiro <raysatiro@yahoo.com>2017-03-11 17:19:59 -0500
commite08c0cd3275727978b69a1087bcebe0e38a5c9c9 (patch)
tree263f0ea2140bf6421d40c4fb25206374f261ee36 /lib/vtls/mbedtls.c
parent8d105209933e27293cfc4f224614cea57ddd8372 (diff)
mbedtls: fix typo in variable name
Broken a few days ago in 6448f98. Bug: https://curl.haxx.se/mail/lib-2017-03/0015.html
Diffstat (limited to 'lib/vtls/mbedtls.c')
-rw-r--r--lib/vtls/mbedtls.c2
1 files changed, 1 insertions, 1 deletions
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;