diff options
| author | Steven Fackler <[email protected]> | 2014-10-13 18:57:36 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2014-10-13 18:57:36 -0700 |
| commit | c415f122e2d2a2b0cd225dd4255c4027b5bf9e76 (patch) | |
| tree | d2574c6ae402635915ae70073027f8e7dd67981b /src/ffi.rs | |
| parent | Merge pull request #79 from jroesch/init-cleanup (diff) | |
| parent | ssl: allow setting cipher list (diff) | |
| download | rust-openssl-c415f122e2d2a2b0cd225dd4255c4027b5bf9e76.tar.xz rust-openssl-c415f122e2d2a2b0cd225dd4255c4027b5bf9e76.zip | |
Merge pull request #83 from jmesmon/set-cipher-list
ssl: allow setting cipher list
Diffstat (limited to 'src/ffi.rs')
| -rwxr-xr-x | src/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -408,6 +408,7 @@ extern "C" { pub fn SSL_CTX_use_certificate_file(ctx: *mut SSL_CTX, cert_file: *const c_char, file_type: c_int) -> c_int; pub fn SSL_CTX_use_PrivateKey_file(ctx: *mut SSL_CTX, key_file: *const c_char, file_type: c_int) -> c_int; + pub fn SSL_CTX_set_cipher_list(ssl: *mut SSL_CTX, s: *const c_char) -> c_int; pub fn X509_add_ext(x: *mut X509, ext: *mut X509_EXTENSION, loc: c_int) -> c_int; pub fn X509_digest(x: *mut X509, digest: *const EVP_MD, buf: *mut c_char, len: *mut c_uint) -> c_int; |