Undelete bogus extern declaration

Old rust-openssl versions rely on it being there
This commit is contained in:
Steven Fackler 2016-08-10 22:16:58 -07:00
parent 0cc863e857
commit 207d8e6b30
1 changed files with 3 additions and 0 deletions

View File

@ -717,6 +717,9 @@ extern "C" {
#[cfg(feature = "rfc5114")] #[cfg(feature = "rfc5114")]
pub fn DH_get_2048_256() -> *mut DH; 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_get_error() -> c_ulong;
pub fn ERR_lib_error_string(err: c_ulong) -> *const c_char; pub fn ERR_lib_error_string(err: c_ulong) -> *const c_char;