qca: fix libressl-2.3
This commit is contained in:
parent
b47f99a2f6
commit
96d3dd6be7
|
@ -0,0 +1,28 @@
|
|||
--- plugins/qca-ossl/qca-ossl.cpp.orig 2016-03-31 09:00:14.410576583 +0200
|
||||
+++ plugins/qca-ossl/qca-ossl.cpp 2016-03-31 09:00:21.935576020 +0200
|
||||
@@ -7129,8 +7129,6 @@ public:
|
||||
return new opensslInfoContext(this);
|
||||
else if ( type == "sha1" )
|
||||
return new opensslHashContext( EVP_sha1(), this, type);
|
||||
- else if ( type == "sha0" )
|
||||
- return new opensslHashContext( EVP_sha(), this, type);
|
||||
else if ( type == "ripemd160" )
|
||||
return new opensslHashContext( EVP_ripemd160(), this, type);
|
||||
#ifdef HAVE_OPENSSL_MD2
|
||||
--- plugins/qca-ossl/qca-ossl.cpp.orig 2016-03-31 09:09:28.995535076 +0200
|
||||
+++ plugins/qca-ossl/qca-ossl.cpp 2016-03-31 09:09:36.345534526 +0200
|
||||
@@ -5394,13 +5394,8 @@ public:
|
||||
OpenSSL_add_ssl_algorithms();
|
||||
SSL_CTX *ctx = 0;
|
||||
switch (version) {
|
||||
-#ifndef OPENSSL_NO_SSL2
|
||||
- case TLS::SSL_v2:
|
||||
- ctx = SSL_CTX_new(SSLv2_client_method());
|
||||
- break;
|
||||
-#endif
|
||||
case TLS::SSL_v3:
|
||||
- ctx = SSL_CTX_new(SSLv3_client_method());
|
||||
+ ctx = SSL_CTX_new(SSLv23_client_method());
|
||||
break;
|
||||
case TLS::TLS_v1:
|
||||
ctx = SSL_CTX_new(TLSv1_client_method());
|
|
@ -14,7 +14,6 @@ license="LGPL-2.1"
|
|||
homepage="http://delta.affinix.com/qca/"
|
||||
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname}-${version}.tar.gz"
|
||||
checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
|
||||
broken="SSLv3_client_method and EVP_sha"
|
||||
|
||||
qca-ossl_package() {
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
|
|
Loading…
Reference in New Issue