X509_V_ERR_UNSPECIFIED was added in 1.0.2f

Closes #970
This commit is contained in:
Steven Fackler 2018-08-04 10:23:35 -07:00
parent ba7f82e41b
commit cb2f4c2287
2 changed files with 4 additions and 0 deletions

View File

@ -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");
}

View File

@ -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;