Make verification unconditionally exposed internally

This commit is contained in:
Steven Fackler 2016-10-28 22:14:44 -07:00
parent c0cf4ab1c2
commit 1a288da86c
3 changed files with 6 additions and 4 deletions

View File

@ -42,6 +42,8 @@ pub mod ssl;
pub mod symm;
pub mod version;
pub mod x509;
#[cfg(any(ossl102, ossl110))]
mod verify;
pub fn cvt_p<T>(r: *mut T) -> Result<*mut T, ErrorStack> {
if r.is_null() {

View File

@ -37,12 +37,12 @@ use ffi::{
ASN1_STRING_get0_data as ASN1_STRING_data,
};
pub mod extension;
#[cfg(any(all(feature = "v102", ossl102), all(feature = "v110", ossl110)))]
pub mod verify;
pub use verify;
use self::extension::{ExtensionType, Extension};
use x509::extension::{ExtensionType, Extension};
pub mod extension;
#[cfg(test)]
mod tests;