From 770ba32702abd2b4cab80727958c27ac3043c3ec Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sat, 8 May 2021 09:14:34 -0400 Subject: [PATCH] Update ssl.rs --- openssl-sys/src/ssl.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openssl-sys/src/ssl.rs b/openssl-sys/src/ssl.rs index 9ae0b6de5..8d3c23b4d 100644 --- a/openssl-sys/src/ssl.rs +++ b/openssl-sys/src/ssl.rs @@ -344,7 +344,12 @@ cfg_if! { } cfg_if! { - if #[cfg(ossl110f)] { + if #[cfg(ossl300)] { + pub const SSL_OP_ALL: c_ulong = SSL_OP_CRYPTOPRO_TLSEXT_BUG + | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS + | SSL_OP_TLSEXT_PADDING + | SSL_OP_SAFARI_ECDHE_ECDSA_BUG; + } else if #[cfg(ossl110f)] { pub const SSL_OP_ALL: c_ulong = SSL_OP_CRYPTOPRO_TLSEXT_BUG | SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS | SSL_OP_LEGACY_SERVER_CONNECT -- GitLab