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

Collapse All | Expand All

(-)b/lang/rust/files/patch-libressl (+41 lines)
Added Link Here
1
--- vendor/openssl-sys/build/cfgs.rs
2
+++ vendor/openssl-sys/build/cfgs.rs
3
@@ -34,6 +34,24 @@
4
         if libressl_version >= 0x3_03_02_00_0 {
5
             cfgs.push("libressl332");
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
     } else {
26
         let openssl_version = openssl_version.unwrap();
27
 
28
--- vendor/openssl-sys/build/main.rs
29
+++ vendor/openssl-sys/build/main.rs
30
@@ -282,8 +282,9 @@
31
             (3, 5, _) => ('3', '5', 'x'),
32
             (3, 6, 0) => ('3', '6', '0'),
33
             (3, 6, _) => ('3', '6', 'x'),
34
-            (3, 7, 0) => ('3', '7', '0'),
35
-            (3, 7, 1) => ('3', '7', '1'),
36
+            (3, 7, _) => ('3', '7', 'x'),
37
+            (3, 8, _) => ('3', '8', 'x'),
38
+            (3, 9, _) => ('3', '9', 'x'),
39
             _ => version_error(),
40
         };
41
 

Return to bug 266670