aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssltestlib.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2018-05-23 12:11:15 +0100
committerMatt Caswell <matt@openssl.org>2018-06-27 10:03:20 +0100
commitc748834ff7af7949519d2820a79ec35e809b5a71 (patch)
treedbc29e23d2a6a10cc81b511e3401a07a91162893 /test/ssltestlib.h
parent93f528f36eb9423c31b2d75669cea85da97f9633 (diff)
downloadopenssl-c748834ff7af7949519d2820a79ec35e809b5a71.tar.gz
Add a bi-directional shutdown test
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de> Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/6340)
Diffstat (limited to 'test/ssltestlib.h')
-rw-r--r--test/ssltestlib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ssltestlib.h b/test/ssltestlib.h
index c96dff5216..31e3037446 100644
--- a/test/ssltestlib.h
+++ b/test/ssltestlib.h
@@ -18,6 +18,7 @@ int create_ssl_ctx_pair(const SSL_METHOD *sm, const SSL_METHOD *cm,
char *privkeyfile);
int create_ssl_objects(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio);
+int create_bare_ssl_connection(SSL *serverssl, SSL *clientssl, int want);
int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want);
void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);