Commit 44c2be57 authored by Theo Buehler's avatar Theo Buehler
Browse files

const correct NCONF_new(), remove NCONF_default()

parent 337325d6
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
use super::super::*;

const_ptr_api! {
    extern "C" {
    pub fn NCONF_new(meth: *mut CONF_METHOD) -> *mut CONF;
        pub fn NCONF_new(meth: #[const_ptr_if(libressl400)] CONF_METHOD) -> *mut CONF;
    }
}

extern "C" {
    #[cfg(not(libressl400))]
    pub fn NCONF_default() -> *mut CONF_METHOD;
    pub fn NCONF_free(conf: *mut CONF);
}