Loading openssl/src/ssl/tests.rs +2 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ run_test!(verify_trusted, |method, stream| { Err(err) => panic!("Expected success, got {:?}", err) } }); /* run_test!(verify_untrusted_callback_override_ok, |method, stream| { fn callback(_preverify_ok: bool, _x509_ctx: &X509StoreContext) -> bool { true Loading Loading @@ -288,7 +288,7 @@ run_test!(clear_ctx_options, |method, _| { let opts = ctx.clear_options(ssl::SSL_OP_ALL); assert!(!opts.contains(ssl::SSL_OP_ALL)); }); */ #[test] fn test_write() { let stream = TcpStream::connect("127.0.0.1:15418").unwrap(); Loading openssl/test/test.sh +4 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,10 @@ for port in `seq 15411 15430`; do echo hello | openssl s_server -accept $port -dtls1 -cert openssl/test/cert.pem \ -key openssl/test/key.pem 2>&1 >/dev/null & done rm -f /tmp/rust_openssl_test_pipe mkfifo /tmp/rust_openssl_test_pipe # the server for the test ssl::tests::test_write_dtlsv1 must wait to receive # data from the client openssl s_server -accept 15410 -dtls1 -cert openssl/test/cert.pem \ -key openssl/test/key.pem 2>&1 >/dev/null -key openssl/test/key.pem 2>&1 >/dev/null </tmp/rust_openssl_test_pipe Loading
openssl/src/ssl/tests.rs +2 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ run_test!(verify_trusted, |method, stream| { Err(err) => panic!("Expected success, got {:?}", err) } }); /* run_test!(verify_untrusted_callback_override_ok, |method, stream| { fn callback(_preverify_ok: bool, _x509_ctx: &X509StoreContext) -> bool { true Loading Loading @@ -288,7 +288,7 @@ run_test!(clear_ctx_options, |method, _| { let opts = ctx.clear_options(ssl::SSL_OP_ALL); assert!(!opts.contains(ssl::SSL_OP_ALL)); }); */ #[test] fn test_write() { let stream = TcpStream::connect("127.0.0.1:15418").unwrap(); Loading
openssl/test/test.sh +4 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,10 @@ for port in `seq 15411 15430`; do echo hello | openssl s_server -accept $port -dtls1 -cert openssl/test/cert.pem \ -key openssl/test/key.pem 2>&1 >/dev/null & done rm -f /tmp/rust_openssl_test_pipe mkfifo /tmp/rust_openssl_test_pipe # the server for the test ssl::tests::test_write_dtlsv1 must wait to receive # data from the client openssl s_server -accept 15410 -dtls1 -cert openssl/test/cert.pem \ -key openssl/test/key.pem 2>&1 >/dev/null -key openssl/test/key.pem 2>&1 >/dev/null </tmp/rust_openssl_test_pipe