Move OpenSSL implementation details into a normal comment

This commit is contained in:
johnthagen 2017-10-07 18:29:53 -04:00
parent 4f8195c472
commit 407f330d7b
1 changed files with 2 additions and 5 deletions

View File

@ -8,14 +8,11 @@ pub struct ConfMethod(*mut ffi::CONF_METHOD);
impl ConfMethod {
/// Retrieve handle to the default OpenSSL configuration file processing function.
///
/// # OpenSSL Implementation Details
///
/// `NCONF` stands for "New Conf", as described in crypto/conf/conf_lib.c. This is
/// a newer API than the "CONF classic" functions.
pub fn default() -> ConfMethod {
unsafe {
ffi::init();
// `NCONF` stands for "New Conf", as described in crypto/conf/conf_lib.c. This is
// a newer API than the "CONF classic" functions.
ConfMethod(ffi::NCONF_default())
}
}