69a2459c66
Upstream wolfssl already has better checks to detect broken ssl v2 ClientHellos, we can remove our hack. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46168
10 lines
345 B
Diff
10 lines
345 B
Diff
--- a/wolfssl/openssl/ssl.h
|
|
+++ b/wolfssl/openssl/ssl.h
|
|
@@ -397,6 +397,7 @@ typedef WOLFSSL_X509_STORE_CTX X509_STOR
|
|
/* yassl had set the default to be 500 */
|
|
#define SSL_get_default_timeout(ctx) 500
|
|
|
|
+#define SSL_set_tlsext_host_name(x, y) wolfSSL_UseSNI(x, WOLFSSL_SNI_HOST_NAME, y, strlen(y))
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|