libressl.patch (3952B)
1 diff --git a/vendor/openssl-sys-0.9.107/build/main.rs b/vendor/openssl-sys-0.9.107/build/main.rs 2 index c4ac240e..906958e3 100644 3 --- a/vendor/openssl-sys-0.9.107/build/main.rs 4 +++ b/vendor/openssl-sys-0.9.107/build/main.rs 5 @@ -151,6 +151,7 @@ fn main() { 6 println!("cargo:rustc-check-cfg=cfg(libressl390)"); 7 println!("cargo:rustc-check-cfg=cfg(libressl400)"); 8 println!("cargo:rustc-check-cfg=cfg(libressl410)"); 9 + println!("cargo:rustc-check-cfg=cfg(libressl420)"); 10 11 println!("cargo:rustc-check-cfg=cfg(ossl101)"); 12 println!("cargo:rustc-check-cfg=cfg(ossl102)"); 13 @@ -449,6 +450,10 @@ See rust-openssl documentation for more information: 14 (3, 9, _) => ('3', '9', 'x'), 15 (4, 0, 0) => ('4', '0', '0'), 16 (4, 0, _) => ('4', '0', 'x'), 17 + (4, 1, 0) => ('4', '1', '0'), 18 + (4, 1, _) => ('4', '1', 'x'), 19 + (4, 2, 0) => ('4', '2', '0'), 20 + (4, 2, _) => ('4', '2', 'x'), 21 _ => version_error(), 22 }; 23 24 @@ -491,7 +496,7 @@ fn version_error() -> ! { 25 " 26 27 This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5 28 -through 4.0.x, but a different version of OpenSSL was found. The build is now aborting 29 +through 4.2.x, but a different version of OpenSSL was found. The build is now aborting 30 due to this version mismatch. 31 32 " 33 diff --git a/vendor/openssl-sys-0.9.109/build/main.rs b/vendor/openssl-sys-0.9.109/build/main.rs 34 index 4007a265..906958e3 100644 35 --- a/vendor/openssl-sys-0.9.109/build/main.rs 36 +++ b/vendor/openssl-sys-0.9.109/build/main.rs 37 @@ -151,6 +151,7 @@ fn main() { 38 println!("cargo:rustc-check-cfg=cfg(libressl390)"); 39 println!("cargo:rustc-check-cfg=cfg(libressl400)"); 40 println!("cargo:rustc-check-cfg=cfg(libressl410)"); 41 + println!("cargo:rustc-check-cfg=cfg(libressl420)"); 42 43 println!("cargo:rustc-check-cfg=cfg(ossl101)"); 44 println!("cargo:rustc-check-cfg=cfg(ossl102)"); 45 @@ -451,6 +452,8 @@ See rust-openssl documentation for more information: 46 (4, 0, _) => ('4', '0', 'x'), 47 (4, 1, 0) => ('4', '1', '0'), 48 (4, 1, _) => ('4', '1', 'x'), 49 + (4, 2, 0) => ('4', '2', '0'), 50 + (4, 2, _) => ('4', '2', 'x'), 51 _ => version_error(), 52 }; 53 54 @@ -493,7 +496,7 @@ fn version_error() -> ! { 55 " 56 57 This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5 58 -through 4.1.x, but a different version of OpenSSL was found. The build is now aborting 59 +through 4.2.x, but a different version of OpenSSL was found. The build is now aborting 60 due to this version mismatch. 61 62 " 63 diff --git a/vendor/openssl-sys-0.9.92/build/main.rs b/vendor/openssl-sys-0.9.92/build/main.rs 64 index 21ccf3d0..3bd07b5f 100644 65 --- a/vendor/openssl-sys-0.9.92/build/main.rs 66 +++ b/vendor/openssl-sys-0.9.92/build/main.rs 67 @@ -273,6 +273,16 @@ See rust-openssl documentation for more information: 68 (3, 7, 1) => ('3', '7', '1'), 69 (3, 7, _) => ('3', '7', 'x'), 70 (3, 8, 0) => ('3', '8', '0'), 71 + (3, 8, 1) => ('3', '8', '1'), 72 + (3, 8, _) => ('3', '8', 'x'), 73 + (3, 9, 0) => ('3', '9', '0'), 74 + (3, 9, _) => ('3', '9', 'x'), 75 + (4, 0, 0) => ('4', '0', '0'), 76 + (4, 0, _) => ('4', '0', 'x'), 77 + (4, 1, 0) => ('4', '1', '0'), 78 + (4, 1, _) => ('4', '1', 'x'), 79 + (4, 2, 0) => ('4', '2', '0'), 80 + (4, 2, _) => ('4', '2', 'x'), 81 _ => version_error(), 82 }; 83 84 @@ -315,7 +325,7 @@ fn version_error() -> ! { 85 " 86 87 This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3.0.0), or LibreSSL 2.5 88 -through 3.8.0, but a different version of OpenSSL was found. The build is now aborting 89 +through 4.2.x, but a different version of OpenSSL was found. The build is now aborting 90 due to this version mismatch. 91 92 "