summaryrefslogtreecommitdiff
path: root/testcode/streamtcp.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-09-10 16:30:18 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-09-10 16:30:18 +0000
commit7b6fdf425a9ef38fe9e16779b3af25863104d9c0 (patch)
tree1ac9dd11604f49ca6a2feae373ff4dc7e6fb0002 /testcode/streamtcp.c
parent4289761a7b61df4b64c11ada446a187df61e6a1e (diff)
Diffstat (limited to 'testcode/streamtcp.c')
-rw-r--r--testcode/streamtcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/streamtcp.c b/testcode/streamtcp.c
index b494507def265..0a636395fd35c 100644
--- a/testcode/streamtcp.c
+++ b/testcode/streamtcp.c
@@ -284,7 +284,7 @@ send_em(const char* svr, int udp, int usessl, int noanswer, int num, char** qs)
SSL* ssl = NULL;
if(!buf) fatal_exit("out of memory");
if(usessl) {
- ctx = connect_sslctx_create(NULL, NULL, NULL);
+ ctx = connect_sslctx_create(NULL, NULL, NULL, 0);
if(!ctx) fatal_exit("cannot create ssl ctx");
ssl = outgoing_ssl_fd(ctx, fd);
if(!ssl) fatal_exit("cannot create ssl");