1 use libc::*; 2 3 pub const X509_FILETYPE_PEM: c_int = 1; 4 pub const X509_FILETYPE_ASN1: c_int = 2; 5 pub const X509_FILETYPE_DEFAULT: c_int = 3; 6 7 pub const ASN1_R_HEADER_TOO_LONG: c_int = 123; 8 9 cfg_if! { 10 if #[cfg(not(any(ossl110, libressl350)))] { 11 pub const X509_LU_FAIL: c_int = 0; 12 pub const X509_LU_X509: c_int = 1; 13 pub const X509_LU_CRL: c_int = 2; 14 } 15 } 16