void-packages/srcpkgs/trousers/patches/fix-libressl.patch
2017-04-13 10:32:30 +02:00

11 lines
352 B
Diff

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