Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 614472 Details for
Bug 657720
[libressl overlay] app-crypt/qca-2.3.0: libressl support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qca-9999_libressl_3.patch
qca-9999_libressl_3.patch (text/plain), 1.59 KB, created by
jospezial
on 2020-02-19 02:55:50 UTC
(
hide
)
Description:
qca-9999_libressl_3.patch
Filename:
MIME Type:
Creator:
jospezial
Created:
2020-02-19 02:55:50 UTC
Size:
1.59 KB
patch
obsolete
>diff --git a/plugins/qca-ossl/qca-ossl.cpp b/plugins/qca-ossl/qca-ossl.cpp >index f9bd99e7..b335e2eb 100644 >--- a/plugins/qca-ossl/qca-ossl.cpp >+++ b/plugins/qca-ossl/qca-ossl.cpp >@@ -40,8 +40,9 @@ > #include <openssl/x509v3.h> > #include <openssl/pkcs12.h> > #include <openssl/ssl.h> >- >+#if !defined(LIBRESSL_VERSION_NUMBER) > #include <openssl/kdf.h> >+#endif > > using namespace QCA; > >@@ -1255,6 +1256,7 @@ public: > protected: > }; > >+#if !defined(LIBRESSL_VERSION_NUMBER) > class opensslHkdfContext : public HKDFContext > { > Q_OBJECT >@@ -1284,6 +1286,7 @@ public: > return out; > } > }; >+#endif > > class opensslHMACContext : public MACContext > { >@@ -2823,7 +2826,7 @@ public: > } > else > { >- RSAerr(RSA_F_RSA_OSSL_PRIVATE_DECRYPT, RSA_R_UNKNOWN_PADDING_TYPE); >+ RSAerr(RSA_F_RSA_EAY_PRIVATE_DECRYPT, RSA_R_UNKNOWN_PADDING_TYPE); > return -1; > } > >@@ -7268,7 +7271,9 @@ public: > #endif > list += QStringLiteral("pbkdf1(sha1)"); > list += QStringLiteral("pbkdf2(sha1)"); >+#if !defined(LIBRESSL_VERSION_NUMBER) > list += QStringLiteral("hkdf(sha256)"); >+#endif > list += QStringLiteral("pkey"); > list += QStringLiteral("dlgroup"); > list += QStringLiteral("rsa"); >@@ -7337,8 +7342,10 @@ public: > #endif > else if ( type == QLatin1String("pbkdf2(sha1)") ) > return new opensslPbkdf2Context( this, type ); >+#if !defined(LIBRESSL_VERSION_NUMBER) > else if ( type == QLatin1String("hkdf(sha256)") ) > return new opensslHkdfContext( this, type ); >+#endif > else if ( type == QLatin1String("hmac(md5)") ) > return new opensslHMACContext( EVP_md5(), this, type ); > else if ( type == QLatin1String("hmac(sha1)") )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 657720
:
535490
|
535492
|
535494
|
535496
|
535498
|
535500
|
535502
|
558122
|
614472
|
663109