diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/main.c b/source/main.c index 2ce314e..2b4a02a 100644 --- a/source/main.c +++ b/source/main.c | |||
@@ -113,7 +113,7 @@ void* extractor(void* userdata) | |||
113 | { | 113 | { |
114 | wolfSSL_Init(); | 114 | wolfSSL_Init(); |
115 | 115 | ||
116 | sslContext = wolfSSL_CTX_new(wolfTLSv1_client_method()); | 116 | sslContext = wolfSSL_CTX_new(wolfSSLv23_client_method()); |
117 | if (sslContext == NULL) | 117 | if (sslContext == NULL) |
118 | { | 118 | { |
119 | fatalError("wolfSSL_CTX_new error.\n"); | 119 | fatalError("wolfSSL_CTX_new error.\n"); |