Loading .circleci/config.yml +5 −5 Original line number Diff line number Diff line Loading @@ -108,9 +108,9 @@ openssl_101: &OPENSSL_101 libressl_250: &LIBRESSL_250 LIBRARY: libressl VERSION: 2.5.0 libressl_270: &LIBRESSL_272 libressl_270: &LIBRESSL_280 LIBRARY: libressl VERSION: 2.7.2 VERSION: 2.8.0 x86_64: &X86_64 TARGET: x86_64-unknown-linux-gnu Loading Loading @@ -195,10 +195,10 @@ jobs: <<: *JOB environment: <<: [*LIBRESSL_250, *X86_64, *BASE] x86_64-libressl-2.7.2: x86_64-libressl-2.8.0: <<: *JOB environment: <<: [*LIBRESSL_272, *X86_64, *BASE] <<: [*LIBRESSL_280, *X86_64, *BASE] macos: <<: *MACOS_JOB environment: Loading Loading @@ -226,6 +226,6 @@ workflows: - armhf-openssl-1.1.0 - armhf-openssl-1.0.2 - x86_64-libressl-2.5.0 - x86_64-libressl-2.7.2 - x86_64-libressl-2.8.0 - macos - macos-vendored openssl-sys/build/cfgs.rs +3 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<& if libressl_version >= 0x2_07_03_00_0 { cfgs.push("libressl273"); } if libressl_version >= 0x2_08_00_00_0 { cfgs.push("libressl280"); } } else { let openssl_version = openssl_version.unwrap(); Loading openssl-sys/build/main.rs +1 −0 Original line number Diff line number Diff line Loading @@ -497,6 +497,7 @@ See rust-openssl README for more information: (6, 2) => ('6', '2'), (6, _) => ('6', 'x'), (7, _) => ('7', 'x'), (8, 0) => ('8', 'x'), _ => version_error(), }; Loading openssl-sys/src/asn1.rs +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ extern "C" { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn ASN1_STRING_to_UTF8(out: *mut *mut c_uchar, s: *const ASN1_STRING) -> c_int; } Loading openssl-sys/src/bio.rs +5 −15 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ pub type bio_info_cb = Option<unsafe extern "C" fn(*mut BIO, c_int, *const c_char, c_int, c_long, c_long)>; cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { pub enum BIO_METHOD {} } else { #[repr(C)] Loading @@ -60,24 +60,14 @@ pub unsafe fn BIO_get_mem_data(b: *mut BIO, pp: *mut *mut c_char) -> c_long { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn BIO_s_file() -> *const BIO_METHOD; } } else { extern "C" { pub fn BIO_s_file() -> *mut BIO_METHOD; } } } cfg_if! { if #[cfg(ossl110)] { extern "C" { pub fn BIO_new(type_: *const BIO_METHOD) -> *mut BIO; } } else { extern "C" { pub fn BIO_new(type_: *mut BIO_METHOD) -> *mut BIO; pub fn BIO_s_file() -> *mut BIO_METHOD; } } } Loading @@ -96,7 +86,7 @@ extern "C" { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn BIO_s_mem() -> *const BIO_METHOD; } Loading @@ -107,7 +97,7 @@ cfg_if! { } } cfg_if! { if #[cfg(ossl102)] { if #[cfg(any(ossl102, libressl280))] { extern "C" { pub fn BIO_new_mem_buf(buf: *const c_void, len: c_int) -> *mut BIO; } Loading Loading
.circleci/config.yml +5 −5 Original line number Diff line number Diff line Loading @@ -108,9 +108,9 @@ openssl_101: &OPENSSL_101 libressl_250: &LIBRESSL_250 LIBRARY: libressl VERSION: 2.5.0 libressl_270: &LIBRESSL_272 libressl_270: &LIBRESSL_280 LIBRARY: libressl VERSION: 2.7.2 VERSION: 2.8.0 x86_64: &X86_64 TARGET: x86_64-unknown-linux-gnu Loading Loading @@ -195,10 +195,10 @@ jobs: <<: *JOB environment: <<: [*LIBRESSL_250, *X86_64, *BASE] x86_64-libressl-2.7.2: x86_64-libressl-2.8.0: <<: *JOB environment: <<: [*LIBRESSL_272, *X86_64, *BASE] <<: [*LIBRESSL_280, *X86_64, *BASE] macos: <<: *MACOS_JOB environment: Loading Loading @@ -226,6 +226,6 @@ workflows: - armhf-openssl-1.1.0 - armhf-openssl-1.0.2 - x86_64-libressl-2.5.0 - x86_64-libressl-2.7.2 - x86_64-libressl-2.8.0 - macos - macos-vendored
openssl-sys/build/cfgs.rs +3 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<& if libressl_version >= 0x2_07_03_00_0 { cfgs.push("libressl273"); } if libressl_version >= 0x2_08_00_00_0 { cfgs.push("libressl280"); } } else { let openssl_version = openssl_version.unwrap(); Loading
openssl-sys/build/main.rs +1 −0 Original line number Diff line number Diff line Loading @@ -497,6 +497,7 @@ See rust-openssl README for more information: (6, 2) => ('6', '2'), (6, _) => ('6', 'x'), (7, _) => ('7', 'x'), (8, 0) => ('8', 'x'), _ => version_error(), }; Loading
openssl-sys/src/asn1.rs +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ extern "C" { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn ASN1_STRING_to_UTF8(out: *mut *mut c_uchar, s: *const ASN1_STRING) -> c_int; } Loading
openssl-sys/src/bio.rs +5 −15 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ pub type bio_info_cb = Option<unsafe extern "C" fn(*mut BIO, c_int, *const c_char, c_int, c_long, c_long)>; cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { pub enum BIO_METHOD {} } else { #[repr(C)] Loading @@ -60,24 +60,14 @@ pub unsafe fn BIO_get_mem_data(b: *mut BIO, pp: *mut *mut c_char) -> c_long { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn BIO_s_file() -> *const BIO_METHOD; } } else { extern "C" { pub fn BIO_s_file() -> *mut BIO_METHOD; } } } cfg_if! { if #[cfg(ossl110)] { extern "C" { pub fn BIO_new(type_: *const BIO_METHOD) -> *mut BIO; } } else { extern "C" { pub fn BIO_new(type_: *mut BIO_METHOD) -> *mut BIO; pub fn BIO_s_file() -> *mut BIO_METHOD; } } } Loading @@ -96,7 +86,7 @@ extern "C" { } cfg_if! { if #[cfg(ossl110)] { if #[cfg(any(ossl110, libressl280))] { extern "C" { pub fn BIO_s_mem() -> *const BIO_METHOD; } Loading @@ -107,7 +97,7 @@ cfg_if! { } } cfg_if! { if #[cfg(ossl102)] { if #[cfg(any(ossl102, libressl280))] { extern "C" { pub fn BIO_new_mem_buf(buf: *const c_void, len: c_int) -> *mut BIO; } Loading