disable sslv3
This commit is contained in:
parent
bd943701e8
commit
1fc2c0ee08
24
debian/disable_sslv3.patch
vendored
Normal file
24
debian/disable_sslv3.patch
vendored
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
--- a/src/Mayaqua/Network.c 2016-03-20 13:37:38.829534634 -0400
|
||||||
|
+++ b/src/Mayaqua/Network.c 2016-03-20 13:37:28.079218703 -0400
|
||||||
|
@@ -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);
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -14,6 +14,7 @@ override_dh_auto_clean:
|
|||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
patch -f < debian/makefile.patch
|
patch -f < debian/makefile.patch
|
||||||
|
patch -f < debian/disable_sslv3.patch
|
||||||
mkdir -p usr/bin
|
mkdir -p usr/bin
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user