diff options
| author | Steven Fackler <[email protected]> | 2016-11-02 08:26:18 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-11-02 08:26:18 -0700 |
| commit | 7f308aa5e1c440712217bc8b4310000372856459 (patch) | |
| tree | 57c75194f99361e2faff1910f1ad5240cfee9752 /openssl-sys/src/lib.rs | |
| parent | Use built in DH parameters when available (diff) | |
| download | rust-openssl-7f308aa5e1c440712217bc8b4310000372856459.tar.xz rust-openssl-7f308aa5e1c440712217bc8b4310000372856459.zip | |
Fix signature
Diffstat (limited to 'openssl-sys/src/lib.rs')
| -rw-r--r-- | openssl-sys/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index f5de44b6..ca1148d4 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1471,7 +1471,7 @@ extern { pub fn PEM_read_bio_RSAPrivateKey(bio: *mut BIO, rsa: *mut *mut RSA, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut RSA; pub fn PEM_read_bio_RSA_PUBKEY(bio: *mut BIO, rsa: *mut *mut RSA, callback: Option<PasswordCallback>, user_data: *mut c_void) -> *mut RSA; - pub fn PEM_write_bio_DHparams(bio: *mut BIO, x: *mut DH) -> c_int; + pub fn PEM_write_bio_DHparams(bio: *mut BIO, x: *const DH) -> c_int; pub fn PEM_write_bio_PrivateKey(bio: *mut BIO, pkey: *mut EVP_PKEY, cipher: *const EVP_CIPHER, kstr: *mut c_uchar, klen: c_int, callback: Option<PasswordCallback>, |