Loading openssl/src/dh.rs +1 −3 Original line number Diff line number Diff line Loading @@ -132,11 +132,9 @@ mod tests { use ssl::{SslContext, SslMethod}; #[test] #[cfg(any(ossl102, ossl110))] #[cfg(ossl102)] fn test_dh_rfc5114() { 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(); ctx.set_tmp_dh(&dh2).unwrap(); let dh3 = Dh::get_2048_256().unwrap(); Loading Loading
openssl/src/dh.rs +1 −3 Original line number Diff line number Diff line Loading @@ -132,11 +132,9 @@ mod tests { use ssl::{SslContext, SslMethod}; #[test] #[cfg(any(ossl102, ossl110))] #[cfg(ossl102)] fn test_dh_rfc5114() { 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(); ctx.set_tmp_dh(&dh2).unwrap(); let dh3 = Dh::get_2048_256().unwrap(); Loading