Commit 407f330d authored by johnthagen's avatar johnthagen
Browse files

Move OpenSSL implementation details into a normal comment

parent 4f8195c4
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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())
        }
    }