File 0844-crypto-Add-HAS_LIBRESSL_VSN.patch of Package erlang (Revision bc367f930d31276a6b03dd29b658e280)
Currently displaying revision bc367f930d31276a6b03dd29b658e280 , Show latest
xxxxxxxxxx
1
From ab9bef26124314605da268e70cd98e3a1442ade5 Mon Sep 17 00:00:00 2001
2
From: Sverker Eriksson <sverker@erlang.org>
3
Date: Mon, 12 Jun 2023 19:54:42 +0200
4
Subject: [PATCH 4/5] crypto: Add HAS_LIBRESSL_VSN
5
6
LIBRESSL_VERSION_NUMBER or 0 if not LibreSSL
7
---
8
lib/crypto/c_src/openssl_version.h | 3 +++
9
1 file changed, 3 insertions(+)
10
11
diff --git a/lib/crypto/c_src/openssl_version.h b/lib/crypto/c_src/openssl_version.h
12
index 2391adb09b..cdd3b835b5 100644
13
--- a/lib/crypto/c_src/openssl_version.h
14
+++ b/lib/crypto/c_src/openssl_version.h
15
16
17
#ifdef LIBRESSL_VERSION_NUMBER
18
# define HAS_LIBRESSL
19
+# define HAS_LIBRESSL_VSN LIBRESSL_VERSION_NUMBER
20
+#else
21
+# define HAS_LIBRESSL_VSN 0
22
#endif
23
24
/* Helper macros to construct a OPENSSL_VERSION_NUMBER.
25
--
26
2.35.3
27
28