diff options
| author | Steven Fackler <[email protected]> | 2018-01-01 11:55:05 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-01-01 11:55:05 -0800 |
| commit | 0dd0df84d7167eeda1e69c83b4c4efba3b78b470 (patch) | |
| tree | 4fb0a6bab4f4d3e980a8e94b6057ec8e1b871349 /openssl-sys/src | |
| parent | Merge pull request #812 from Eijebong/bump_hex (diff) | |
| parent | Move X509Filetype to SslFiletype (diff) | |
| download | rust-openssl-0dd0df84d7167eeda1e69c83b4c4efba3b78b470.tar.xz rust-openssl-0dd0df84d7167eeda1e69c83b4c4efba3b78b470.zip | |
Merge pull request #813 from sfackler/ssl-filetype
Move X509Filetype to SslFiletype
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index e95e5d0d..619cb3b6 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -1284,6 +1284,9 @@ pub const SSL_OP_NO_DTLSv1_2: c_ulong = 0x08000000; pub const SSL_OP_NO_SSL_MASK: c_ulong = SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2; +pub const SSL_FILETYPE_PEM: c_int = X509_FILETYPE_PEM; +pub const SSL_FILETYPE_ASN1: c_int = X509_FILETYPE_ASN1; + pub const TLSEXT_NAMETYPE_host_name: c_int = 0; pub const TLSEXT_STATUSTYPE_ocsp: c_int = 1; |