15 lines
578 B
Diff
15 lines
578 B
Diff
$OpenBSD: patch-include_proto_openssl-compat_h,v 1.6 2018/03/20 21:57:55 sthen Exp $
|
|
|
|
Index: include/proto/openssl-compat.h
|
|
--- include/proto/openssl-compat.h.orig
|
|
+++ include/proto/openssl-compat.h
|
|
@@ -89,7 +89,8 @@ static inline int SSL_SESSION_set1_id_context(SSL_SESS
|
|
}
|
|
#endif
|
|
|
|
-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) || \
|
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
/*
|
|
* Functions introduced in OpenSSL 1.1.0 and not yet present in LibreSSL
|
|
*/
|