projects
/
openwrt
/
staging
/
jogo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70b104f
)
mkimage: fix openssl 1.1.x compat fix with libressl
author
Felix Fietkau
<nbd@nbd.name>
Wed, 30 Nov 2016 19:24:31 +0000
(20:24 +0100)
committer
Felix Fietkau
<nbd@nbd.name>
Wed, 30 Nov 2016 19:24:33 +0000
(20:24 +0100)
libressl sets OPENSSL_VERSION_NUMBER to 0x20000000L, which breaks API
checks based on it.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
tools/mkimage/patches/210-openssl-1.1.x-compat.patch
patch
|
blob
|
history
diff --git
a/tools/mkimage/patches/210-openssl-1.1.x-compat.patch
b/tools/mkimage/patches/210-openssl-1.1.x-compat.patch
index fa7c99f39b0a65f0d784473ca9b8fde836e4fa6e..b1bc08856ea13b04d2aba58b551c3dcf2f1d2a0b 100644
(file)
--- a/
tools/mkimage/patches/210-openssl-1.1.x-compat.patch
+++ b/
tools/mkimage/patches/210-openssl-1.1.x-compat.patch
@@
-11,7
+11,7
@@
#define HAVE_ERR_REMOVE_THREAD_STATE
#endif
-+#if
OPENSSL_VERSION_NUMBER < 0x10100005L
++#if
(OPENSSL_VERSION_NUMBER < 0x10100005L) || defined(LIBRESSL_VERSION_NUMBER)
+static void RSA_get0_key(const RSA *r,
+ const BIGNUM **n, const BIGNUM **e, const BIGNUM **d)
+{