Skip to content

Commit

Permalink
Pass NO_TLSV1_3 in tmp_dh_callback_ssl() for LibreSSL 3.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vishwin committed May 6, 2022
1 parent bd39183 commit 2c6313f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openssl/src/ssl/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ fn tmp_dh_callback_ssl() {

let mut client = server.client();
// TLS 1.3 has no DH suites, so make sure we don't pick that version
#[cfg(ossl111)]
#[cfg(any(ossl111, libressl340))]
client.ctx().set_options(super::SslOptions::NO_TLSV1_3);
client.ctx().set_cipher_list("EDH").unwrap();
client.connect();
Expand Down

0 comments on commit 2c6313f

Please sign in to comment.