Hotfix TLSv1 support for mbed TLS
authorZero King <l2dy@icloud.com>
Thu, 26 Jan 2017 12:21:32 +0000 (12:21 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Jan 2017 12:21:32 +0000 (12:21 +0000)
src/ssli_mbedtls.c

index 0f55a9d168630f56f03539e809f66d376dba3bfa..aaaccf852f232bd162c3d60a44ac99fdeb841b5f 100644 (file)
@@ -173,7 +173,7 @@ void SSLi_init(void)
 #endif
        mbedtls_ssl_conf_dbg(conf, pssl_debug, NULL);
 
 #endif
        mbedtls_ssl_conf_dbg(conf, pssl_debug, NULL);
 
-       mbedtls_ssl_conf_min_version(conf, MBEDTLS_SSL_MAJOR_VERSION_3, MBEDTLS_SSL_MINOR_VERSION_3);
+       mbedtls_ssl_conf_min_version(conf, MBEDTLS_SSL_MAJOR_VERSION_3, MBEDTLS_SSL_MINOR_VERSION_1);
 
        mbedtls_ssl_conf_ciphersuites(conf, (const int*)&ciphers);
 
 
        mbedtls_ssl_conf_ciphersuites(conf, (const int*)&ciphers);