View | Details | Raw Unified | Return to bug 266670 | Differences between
and this patch

Collapse All | Expand All

(-)./files/patch-libressl_fix (+29 lines)
Line 0 Link Here
1
--- vendor/openssl-sys/build/cfgs.rs.orig	2023-10-03 04:12:10 UTC
2
+++ vendor/openssl-sys/build/cfgs.rs
3
@@ -53,6 +53,15 @@ pub fn get(openssl_version: Option<u64>, libressl_vers
4
         if libressl_version >= 0x3_07_00_00_0 {
5
             cfgs.push("libressl370");
6
         }
7
+        if libressl_version >= 0x3_08_00_00_0 {
8
+            cfgs.push("libressl380");
9
+        }
10
+        if libressl_version >= 0x3_08_01_00_0 {
11
+            cfgs.push("libressl381");
12
+        }
13
+        if libressl_version >= 0x3_08_02_00_0 {
14
+            cfgs.push("libressl382");
15
+        }
16
     } else {
17
         let openssl_version = openssl_version.unwrap();
18
 
19
--- vendor/openssl-sys/build/main.rs.orig	2023-10-03 04:12:10 UTC
20
+++ vendor/openssl-sys/build/main.rs
21
@@ -274,6 +274,8 @@ See rust-openssl documentation for more information:
22
             (3, 7, 1) => ('3', '7', '1'),
23
             (3, 7, _) => ('3', '7', 'x'),
24
             (3, 8, 0) => ('3', '8', '0'),
25
+            (3, 8, 1) => ('3', '8', '1'),
26
+            (3, 8, 2) => ('3', '8', '2'),
27
             _ => version_error(),
28
         };
29
 

Return to bug 266670