Loading openssl/src/ssl/tests/mod.rs +2 −10 Original line number Diff line number Diff line Loading @@ -1264,11 +1264,7 @@ fn tmp_ecdh_callback() { let stream = TcpStream::connect(("127.0.0.1", port)).unwrap(); let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); if cfg!(ossl101) { ctx.set_cipher_list("kECDHe").unwrap(); } else { ctx.set_cipher_list("ECDHE").unwrap(); } ctx.set_cipher_list("ECDH").unwrap(); let ssl = Ssl::new(&ctx.build()).unwrap(); ssl.connect(stream).unwrap(); Loading Loading @@ -1331,11 +1327,7 @@ fn tmp_ecdh_callback_ssl() { let stream = TcpStream::connect(("127.0.0.1", port)).unwrap(); let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); if cfg!(ossl101) { ctx.set_cipher_list("kECDHe").unwrap(); } else { ctx.set_cipher_list("ECDHE").unwrap(); } ctx.set_cipher_list("ECDH").unwrap(); let ssl = Ssl::new(&ctx.build()).unwrap(); ssl.connect(stream).unwrap(); Loading Loading
openssl/src/ssl/tests/mod.rs +2 −10 Original line number Diff line number Diff line Loading @@ -1264,11 +1264,7 @@ fn tmp_ecdh_callback() { let stream = TcpStream::connect(("127.0.0.1", port)).unwrap(); let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); if cfg!(ossl101) { ctx.set_cipher_list("kECDHe").unwrap(); } else { ctx.set_cipher_list("ECDHE").unwrap(); } ctx.set_cipher_list("ECDH").unwrap(); let ssl = Ssl::new(&ctx.build()).unwrap(); ssl.connect(stream).unwrap(); Loading Loading @@ -1331,11 +1327,7 @@ fn tmp_ecdh_callback_ssl() { let stream = TcpStream::connect(("127.0.0.1", port)).unwrap(); let mut ctx = SslContext::builder(SslMethod::tls()).unwrap(); if cfg!(ossl101) { ctx.set_cipher_list("kECDHe").unwrap(); } else { ctx.set_cipher_list("ECDHE").unwrap(); } ctx.set_cipher_list("ECDH").unwrap(); let ssl = Ssl::new(&ctx.build()).unwrap(); ssl.connect(stream).unwrap(); Loading