curl-library
Re: [PATCH] mbedtls: Unbreak mbedtls compilation
Date: Sat, 11 Mar 2017 17:29:05 -0500
On 3/11/2017 3:06 PM, Thomas Glanzmann wrote:
> --- 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;
Landed in https://github.com/curl/curl/commit/e08c0cd
Unrelated to this issue but regarding mbedTLS, support for
CURLOPT_SSL_CTX_FUNCTION is coming soon. You may want to check out the
PR at https://github.com/curl/curl/pull/1272 should you have any feedback.
Thanks
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-03-11