Searched refs:library_code (Results 1 – 3 of 3) sorted by relevance
201 ffi::ERR_set_error(self.library_code(), self.reason_code(), ptr::null()); in put_error()213 self.library_code(), in put_error()244 pub fn library_code(&self) -> libc::c_int { in library_code() method320 None => write!(fmt, ":lib({})", self.library_code())?, in fmt()414 assert_eq!(errors[0].library_code(), ffi::ERR_LIB_ASN1); in test_error_library_code()416 assert_eq!(errors[0].library_code(), ffi::ERR_LIB_OBJ as libc::c_int); in test_error_library_code()
205 * Added `Error::library_code` and `Error::reason_code`.
792 if err.library_code() == ffi::ERR_LIB_PEM as libc::c_int in stack_from_pem()