16 lines
602 B
Diff
16 lines
602 B
Diff
$OpenBSD: patch-src_libssl_compat_h,v 1.1 2018/02/18 11:12:22 sthen Exp $
|
|
|
|
Index: src/libssl_compat.h
|
|
--- src/libssl_compat.h.orig
|
|
+++ src/libssl_compat.h
|
|
@@ -43,7 +43,9 @@
|
|
#define LIBRESSL_IN_USE 0
|
|
#endif // !defined(LIBRESSL_VERSION_NUMBER)
|
|
|
|
+/* XXX really OPENSSL_110_API... */
|
|
#define OPENSSL_101_API \
|
|
- (!LIBRESSL_IN_USE && OPENSSL_VERSION_NUMBER >= 0x1010000fL)
|
|
+ OPENSSL_VERSION_NUMBER >= 0x1010000fL || \
|
|
+ (LIBRESSL_IN_USE && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
|
|
#endif // LIBSSL_COMPAT_H
|