Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163718364
D6685.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D6685.diff
View Options
Index: devel/qca/files/patch-libressl
===================================================================
--- devel/qca/files/patch-libressl
+++ devel/qca/files/patch-libressl
@@ -1,5 +1,18 @@
--- plugins/qca-ossl/qca-ossl.cpp.orig 2015-10-02 09:39:21 UTC
+++ plugins/qca-ossl/qca-ossl.cpp
+@@ -5404,7 +5404,12 @@
+ break;
+ #endif
+ case TLS::SSL_v3:
++#ifndef OPENSSL_NO_SSL3
+ ctx = SSL_CTX_new(SSLv3_client_method());
++#else
++ ctx = SSL_CTX_new(SSLv23_client_method());
++ SSL_CTX_set_options(ctx, SSL_OP_NO_TLSv1|SSL_OP_NO_SSLv2);
++#endif
+ break;
+ case TLS::TLS_v1:
+ ctx = SSL_CTX_new(TLSv1_client_method());
@@ -5805,7 +5805,11 @@ public:
{
SessionInfo sessInfo;
@@ -13,3 +26,14 @@
if (ssl->version == TLS1_VERSION)
sessInfo.version = TLS::TLS_v1;
+@@ -7137,8 +7142,10 @@
+ return new opensslInfoContext(this);
+ else if ( type == "sha1" )
+ return new opensslHashContext( EVP_sha1(), this, type);
++#ifndef OPENSSL_NO_SHA0
+ else if ( type == "sha0" )
+ return new opensslHashContext( EVP_sha(), this, type);
++#endif
+ else if ( type == "ripemd160" )
+ return new opensslHashContext( EVP_ripemd160(), this, type);
+ #ifdef HAVE_OPENSSL_MD2
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jul 26, 4:20 PM (3 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35544822
Default Alt Text
D6685.diff (1 KB)
Attached To
Mode
D6685: Patch qca to build with libressl
Attached
Detach File
Event Timeline
Log In to Comment