Move OpenSSL implementation details into a normal comment
This commit is contained in:
parent
4f8195c472
commit
407f330d7b
|
|
@ -8,14 +8,11 @@ pub struct ConfMethod(*mut ffi::CONF_METHOD);
|
||||||
|
|
||||||
impl ConfMethod {
|
impl ConfMethod {
|
||||||
/// Retrieve handle to the default OpenSSL configuration file processing function.
|
/// 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 {
|
pub fn default() -> ConfMethod {
|
||||||
unsafe {
|
unsafe {
|
||||||
ffi::init();
|
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())
|
ConfMethod(ffi::NCONF_default())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue