diff options
| author | Steven Fackler <[email protected]> | 2016-10-12 22:34:13 -0700 |
|---|---|---|
| committer | Alex Crichton <[email protected]> | 2016-10-12 22:50:08 -0700 |
| commit | af3e06d3e897d0ea5a2a50f0a6b932c3c42bd450 (patch) | |
| tree | df298df941dc3eaf7d00565b08ab2211ef773f29 /openssl/src | |
| parent | Add support for OpenSSL 1.1.0 (diff) | |
| download | rust-openssl-af3e06d3e897d0ea5a2a50f0a6b932c3c42bd450.tar.xz rust-openssl-af3e06d3e897d0ea5a2a50f0a6b932c3c42bd450.zip | |
Add remaining SSL_OP constants
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/ssl/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 51bfc790..1c3fe1ae 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -65,6 +65,11 @@ bitflags! { const SSL_OP_NO_SSLV2 = ffi::SSL_OP_NO_SSLv2, const SSL_OP_NO_SSLV3 = ffi::SSL_OP_NO_SSLv3, const SSL_OP_NO_TLSV1 = ffi::SSL_OP_NO_TLSv1, + const SSL_OP_NO_TLSV1_2 = ffi::SSL_OP_NO_TLSv1_2, + const SSL_OP_NO_TLSV1_1 = ffi::SSL_OP_NO_TLSv1_1, + const SSL_OP_NO_DTLSV1 = ffi::SSL_OP_NO_DTLSv1, + const SSL_OP_NO_DTLSV1_2 = ffi::SSL_OP_NO_DTLSv1_2, + const SSL_OP_NO_SSL_MASK = ffi::SSL_OP_NO_SSL_MASK, } } |