Commit bd39183a authored by Charlie Li's avatar Charlie Li
Browse files

Pass NO_TLSV1_3 in tmp_dh_callback() for LibreSSL 3.4.0

parent f50060d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ fn tmp_dh_callback() {

    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();