Stop testing 1024 bit DH keys

Closes #1328
This commit is contained in:
Steven Fackler 2020-08-08 12:54:22 -04:00
parent a7066c2a8c
commit 79b5ee7f55
1 changed files with 1 additions and 3 deletions

View File

@ -132,11 +132,9 @@ mod tests {
use ssl::{SslContext, SslMethod}; use ssl::{SslContext, SslMethod};
#[test] #[test]
#[cfg(any(ossl102, ossl110))] #[cfg(ossl102)]
fn test_dh_rfc5114() { fn test_dh_rfc5114() {
let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); let mut ctx = SslContext::builder(SslMethod::tls()).unwrap();
let dh1 = Dh::get_1024_160().unwrap();
ctx.set_tmp_dh(&dh1).unwrap();
let dh2 = Dh::get_2048_224().unwrap(); let dh2 = Dh::get_2048_224().unwrap();
ctx.set_tmp_dh(&dh2).unwrap(); ctx.set_tmp_dh(&dh2).unwrap();
let dh3 = Dh::get_2048_256().unwrap(); let dh3 = Dh::get_2048_256().unwrap();