diff options
author | johnthagen <johnthagen@gmail.com> | 2017-10-07 18:29:53 -0400 |
---|---|---|
committer | johnthagen <johnthagen@gmail.com> | 2017-10-07 18:29:53 -0400 |
commit | 407f330d7b24d5cdf577cde4313a4169066c49fb (patch) | |
tree | d15b65fe25b4d471d6b0c2c8b6da4e95217aba64 /openssl/src/conf.rs | |
parent | 4f8195c472fd9bf12ff61dc500db4e515c25e867 (diff) | |
download | rust-openssl-407f330d7b24d5cdf577cde4313a4169066c49fb.zip |
Move OpenSSL implementation details into a normal comment
Diffstat (limited to 'openssl/src/conf.rs')
-rw-r--r-- | openssl/src/conf.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/openssl/src/conf.rs b/openssl/src/conf.rs index 91030138..56654ecb 100644 --- a/openssl/src/conf.rs +++ b/openssl/src/conf.rs @@ -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()) } } |