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

Collapse All | Expand All

(-)b/lang/rust/files/patch-libressl (+42 lines)
Added Link Here
1
--- vendor/openssl-sys/build/cfgs.rs
2
+++ vendor/openssl-sys/build/cfgs.rs
3
@@ -53,6 +53,27 @@
4
         if libressl_version >= 0x3_07_00_00_0 {
5
             cfgs.push("libressl370");
6
         }
7
+        if libressl_version >= 0x3_04_00_00_0 {
8
+            cfgs.push("libressl340");
9
+        }
10
+        if libressl_version >= 0x3_05_00_00_0 {
11
+            cfgs.push("libressl350");
12
+        }
13
+        if libressl_version >= 0x3_06_00_00_0 {
14
+            cfgs.push("libressl360");
15
+        }
16
+        if libressl_version >= 0x3_07_00_00_0 {
17
+            cfgs.push("libressl370");
18
+        }
19
+        if libressl_version >= 0x3_08_00_00_0 {
20
+            cfgs.push("libressl380");
21
+        }
22
+        if libressl_version >= 0x3_09_00_00_0 {
23
+            cfgs.push("libressl390");
24
+        }
25
+        if libressl_version >= 0x3_10_00_00_0 {
26
+            cfgs.push("libressl3100");
27
+        }
28
     } else {
29
         let openssl_version = openssl_version.unwrap();
30
 
31
--- vendor/openssl-sys/build/main.rs
32
+++ vendor/openssl-sys/build/main.rs
33
@@ -274,6 +274,9 @@
34
             (3, 7, 1) => ('3', '7', '1'),
35
             (3, 7, _) => ('3', '7', 'x'),
36
             (3, 8, 0) => ('3', '8', '0'),
37
+            (3, 8, _) => ('3', '8', 'x'),
38
+            (3, 9, _) => ('3', '9', 'x'),
39
+            (3, 10, _) => ('3', '10', 'x'),
40
             _ => version_error(),
41
         };
42
 

Return to bug 266670