summaryrefslogtreecommitdiff
path: root/dev-libs/openpace/files/openpace-1.1.2-openssl-3.0-3.patch
blob: 9ae0221adb7bfe90f84f433d9cc36aba7ea816e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From 4c22789d264bd249cfff1c3e69466991e58a76cf Mon Sep 17 00:00:00 2001
From: Frank Morgner <frankmorgner@gmail.com>
Date: Mon, 20 Dec 2021 02:32:58 +0100
Subject: [PATCH] fixed openssl 3 include

---
 src/eac_util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/eac_util.c b/src/eac_util.c
index 6e518e0..c9196fd 100644
--- a/src/eac_util.c
+++ b/src/eac_util.c
@@ -321,7 +321,9 @@ randb(int numbytes)
     return NULL;
 }
 
+#if OPENSSL_VERSION_NUMBER >= 0x30000000L
 #include <openssl/provider.h>
+#endif
 
 BUF_MEM *
 retail_mac_des(const BUF_MEM * key, const BUF_MEM * in)