summaryrefslogtreecommitdiff
path: root/sys-boot/vboot-utils/files/vboot-utils-72_p20181229-libressl.patch
blob: 6702a9f590bc93f8e953a0d6aec3176ce5028e49 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/host/include/openssl_compat.h	2019-01-03 17:32:20.000000000 -0500
+++ b/host/include/openssl_compat.h	2019-02-23 13:40:27.521664838 -0500
@@ -12,7 +12,7 @@
 
 #include <openssl/rsa.h>
 
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x2080000L
 
 static inline void RSA_get0_key(const RSA *rsa, const BIGNUM **n,
 				const BIGNUM **e, const BIGNUM **d)