seafile-client-qt: libressl 2.7 fix
This commit is contained in:
parent
87830ee196
commit
de1d395e86
1 changed files with 11 additions and 0 deletions
11
srcpkgs/seafile-client-qt/patches/libressl.patch
Normal file
11
srcpkgs/seafile-client-qt/patches/libressl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/utils/rsa.cpp.orig
|
||||
+++ src/utils/rsa.cpp
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
/* Forward compatibility functions if libssl < 1.1.0. */
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
||||
|
||||
int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
||||
{
|
Loading…
Reference in a new issue