trousers: fix libressl
This commit is contained in:
parent
cff3f8fe90
commit
afe69bfd26
11
srcpkgs/trousers/patches/fix-libressl.patch
Normal file
11
srcpkgs/trousers/patches/fix-libressl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/trspi/crypto/openssl/rsa.c 2016-11-21 03:16:10 UTC
|
||||
+++ src/trspi/crypto/openssl/rsa.c
|
||||
@@ -38,7 +38,7 @@
|
||||
#define DEBUG_print_openssl_errors()
|
||||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100001L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
static int
|
||||
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
||||
{
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'trousers'
|
||||
pkgname=trousers
|
||||
version=0.3.14
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
conf_files="/etc/tcsd.conf"
|
||||
makedepends="libressl-devel"
|
||||
|
|
Loading…
Reference in New Issue
Block a user