mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
security/trousers: Fix build with LibreSSl 2.7
- LibreSSL 2.7 adds OpenSSL 1.1 API PR: 227169 Approved by: maintainer time-out
This commit is contained in:
parent
a5b8408c6c
commit
adaeb55b5e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=467906
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100001L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100001L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100001L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
static int
|
||||
RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue