This commit is contained in:
Mario Fetka 2019-08-06 17:48:33 +02:00
parent 78395fff92
commit 8bf7619e83
3 changed files with 1 additions and 21 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
softether-vpn (0:4.25.9656-rtm) UNRELEASED; urgency=medium softether-vpn (0:4.29.9680-rtm) UNRELEASED; urgency=medium
* Bump * Bump

View File

@ -1,19 +0,0 @@
--- softether-vpn/src/Mayaqua/Network.c.orig 2018-03-13 18:27:46.572000000 +0100
+++ softether-vpn/src/Mayaqua/Network.c 2018-03-13 18:29:48.596000000 +0100
@@ -13025,10 +13025,15 @@
{
if (client_tls == false)
{
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#ifndef OPENSSL_NO_SSL3
SSL_CTX_set_ssl_version(ssl_ctx, SSLv3_method());
#else
SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method());
+ SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_SSLv2 | SSL_OP_NO_TLSv1
+#ifdef SSL_OP_NO_TLSv1_2
+ | SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2
+#endif
+ );
#endif
}
else

View File

@ -1 +0,0 @@
00-fix-sslv3_method.patch