diff options
| author | Steven Fackler <[email protected]> | 2015-10-13 09:26:18 -0400 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2015-10-13 09:26:18 -0400 |
| commit | 8f5b67fed483d29f9cb122534626132c2fc19dd4 (patch) | |
| tree | 5749d6925c85199e19c156464476b19468a809d9 /openssl-sys/src | |
| parent | Merge pull request #284 from bheart/cfb-mode (diff) | |
| parent | Add set_certificate_chain_file() (diff) | |
| download | rust-openssl-8f5b67fed483d29f9cb122534626132c2fc19dd4.tar.xz rust-openssl-8f5b67fed483d29f9cb122534626132c2fc19dd4.zip | |
Merge pull request #286 from jedisct1/use_certificate_chain
Add set_certificate_chain_file()
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index e011428f..df9190e5 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -581,6 +581,7 @@ extern "C" { pub fn SSL_CTX_get_ex_data(ctx: *mut SSL_CTX, idx: c_int) -> *mut c_void; 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_certificate_chain_file(ctx: *mut SSL_CTX, cert_chain_file: *const c_char, file_type: c_int) -> c_int; pub fn SSL_CTX_use_certificate(ctx: *mut SSL_CTX, cert: *mut X509) -> c_int; pub fn SSL_CTX_use_PrivateKey_file(ctx: *mut SSL_CTX, key_file: *const c_char, file_type: c_int) -> c_int; |