- test_refuse_connection("unix", EPIPE);
- test_accept_then_close("unix", EPIPE);
- test_read_hello("unix", ECONNRESET);
- test_send_plain_hello("unix");
- test_send_long_hello("unix");
- test_send_echo_hello("unix");
- test_send_short_hello("unix");
- test_send_invalid_version_hello("unix");
-
- test_accept_then_close("tcp", ECONNRESET);
- test_refuse_connection("tcp", ECONNRESET);
- test_read_hello("tcp", ECONNRESET);
- test_send_plain_hello("tcp");
- test_send_long_hello("tcp");
- test_send_echo_hello("tcp");
- test_send_short_hello("tcp");
- test_send_invalid_version_hello("tcp");
-
-#ifdef HAVE_OPENSSL
- stream_ssl_set_private_key_file("testpki-privkey.pem");
- stream_ssl_set_certificate_file("testpki-cert.pem");
- stream_ssl_set_ca_cert_file("testpki-cacert.pem", false);
-
- test_accept_then_close("ssl", EPROTO);
- test_refuse_connection("ssl", ECONNRESET);
- test_read_hello("ssl", ECONNRESET);
- test_send_plain_hello("ssl");
- test_send_long_hello("ssl");
- test_send_echo_hello("ssl");
- test_send_short_hello("ssl");
- test_send_invalid_version_hello("ssl");
-#endif /* HAVE_OPENSSL */
-
- return 0;