trousers: fix libressl

This commit is contained in:
Enno Boland 2017-04-13 10:32:25 +02:00
parent cff3f8fe90
commit afe69bfd26
2 changed files with 12 additions and 1 deletions

View 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)
{

View File

@ -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"