26 lines
702 B
Diff
26 lines
702 B
Diff
diff -uNr softether-vpn.orig/src/Mayaqua/Network.c softether-vpn/src/Mayaqua/Network.c
|
|
--- softether-vpn.orig/src/Mayaqua/Network.c 2017-04-19 12:16:41.908000000 +0200
|
|
+++ softether-vpn/src/Mayaqua/Network.c 2017-04-19 12:18:38.456000000 +0200
|
|
@@ -12981,14 +12981,14 @@
|
|
}
|
|
else
|
|
{
|
|
- if (client_tls == false)
|
|
- {
|
|
- SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
|
|
- }
|
|
- else
|
|
- {
|
|
+ //if (client_tls == false)
|
|
+ //{
|
|
+ // SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
|
|
+ //}
|
|
+ //else
|
|
+ //{
|
|
SSL_CTX_set_ssl_version(ssl_ctx, TLSv1_client_method());
|
|
- }
|
|
+ //}
|
|
}
|
|
sock->ssl = SSL_new(ssl_ctx);
|
|
SSL_set_fd(sock->ssl, (int)sock->socket);
|