parent
ba7f82e41b
commit
cb2f4c2287
|
|
@ -25,6 +25,9 @@ pub fn get(openssl_version: Option<u64>, libressl_version: Option<u64>) -> Vec<&
|
|||
if openssl_version >= 0x1_00_02_00_0 {
|
||||
cfgs.push("ossl102");
|
||||
}
|
||||
if openssl_version >= 0x1_00_02_06_0 {
|
||||
cfgs.push("ossl102f");
|
||||
}
|
||||
if openssl_version >= 0x1_00_02_08_0 {
|
||||
cfgs.push("ossl102h");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ pub const SSL_OP_NO_DTLSv1: c_ulong = 0x04000000;
|
|||
#[cfg(ossl102)]
|
||||
pub const SSL_OP_NO_DTLSv1_2: c_ulong = 0x08000000;
|
||||
|
||||
#[cfg(ossl102f)]
|
||||
pub const X509_V_ERR_UNSPECIFIED: c_int = 1;
|
||||
|
||||
pub const CMS_TEXT: c_uint = 0x1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue