Commit 207d8e6b authored by Steven Fackler's avatar Steven Fackler
Browse files

Undelete bogus extern declaration

Old rust-openssl versions rely on it being there
parent 0cc863e8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -717,6 +717,9 @@ extern "C" {
    #[cfg(feature = "rfc5114")]
    pub fn DH_get_2048_256() -> *mut DH;

    // FIXME delete on next version bump
    pub fn DH_new_from_params(p: *mut BIGNUM, g: *mut BIGNUM, q: *mut BIGNUM) -> *mut DH;

    pub fn ERR_get_error() -> c_ulong;

    pub fn ERR_lib_error_string(err: c_ulong) -> *const c_char;