aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssltestlib.h
diff options
context:
space:
mode:
authorBoris Pismenny <borisp@mellanox.com>2018-02-13 20:22:09 +0200
committerMatt Caswell <matt@openssl.org>2018-12-07 11:25:45 +0000
commitfe5d945028758becae5e2bfa85b770b922ed2a96 (patch)
treef151762ac8399659e34b1c52ded5b4c909e7e01f /test/ssltestlib.h
parent50ec750567e056fcecff2344c2d9044d81cc731b (diff)
downloadopenssl-fe5d945028758becae5e2bfa85b770b922ed2a96.tar.gz
sslapitest: add test ktls
Add a unit-test for ktls. Signed-off-by: Boris Pismenny <borisp@mellanox.com> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Paul Yang <yang.yang@baishancloud.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5253)
Diffstat (limited to 'test/ssltestlib.h')
-rw-r--r--test/ssltestlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ssltestlib.h b/test/ssltestlib.h
index 435bbbc3ff..8dd626947c 100644
--- a/test/ssltestlib.h
+++ b/test/ssltestlib.h
@@ -19,6 +19,9 @@ int create_ssl_ctx_pair(const SSL_METHOD *sm, const SSL_METHOD *cm,
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_objects2(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl,
+ SSL **cssl, int sfd, int cfd);
+int create_test_sockets(int *cfd, int *sfd);
int create_ssl_connection(SSL *serverssl, SSL *clientssl, int want);
void shutdown_ssl_connection(SSL *serverssl, SSL *clientssl);