|
@ -1,6 +1,6 @@ |
|
|
--- a/src/sstp-client.c
|
|
|
--- a/src/sstp-client.c
|
|
|
+++ b/src/sstp-client.c
|
|
|
+++ b/src/sstp-client.c
|
|
|
@@ -477,6 +477,7 @@ static status_t sstp_init_ssl(sstp_clien
|
|
|
|
|
|
|
|
|
@@ -542,6 +542,7 @@ static status_t sstp_init_ssl(sstp_clien
|
|
|
int retval = SSTP_FAIL; |
|
|
int retval = SSTP_FAIL; |
|
|
int status = 0; |
|
|
int status = 0; |
|
|
|
|
|
|
|
@ -8,7 +8,7 @@ |
|
|
/* Initialize the OpenSSL library */ |
|
|
/* Initialize the OpenSSL library */ |
|
|
status = SSL_library_init(); |
|
|
status = SSL_library_init(); |
|
|
if (status != 1) |
|
|
if (status != 1) |
|
|
@@ -490,6 +491,9 @@ static status_t sstp_init_ssl(sstp_clien
|
|
|
|
|
|
|
|
|
@@ -555,6 +556,9 @@ static status_t sstp_init_ssl(sstp_clien
|
|
|
|
|
|
|
|
|
/* Create a new crypto context */ |
|
|
/* Create a new crypto context */ |
|
|
client->ssl_ctx = SSL_CTX_new(SSLv23_client_method()); |
|
|
client->ssl_ctx = SSL_CTX_new(SSLv23_client_method()); |
|
|