summaryrefslogtreecommitdiffstats
path: root/test/fatalerrtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fatalerrtest.c')
-rw-r--r--test/fatalerrtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fatalerrtest.c b/test/fatalerrtest.c
index 690d7e2d2b..b6f0f4f4b9 100644
--- a/test/fatalerrtest.c
+++ b/test/fatalerrtest.c
@@ -28,7 +28,8 @@ static int test_fatalerr(void)
0x17, 0x03, 0x03, 0x00, 0x05, 'D', 'u', 'm', 'm', 'y'
};
- if (!create_ssl_ctx_pair(SSLv23_method(), SSLv23_method(), &sctx, &cctx,
+ if (!create_ssl_ctx_pair(SSLv23_method(), SSLv23_method(),
+ SSL3_VERSION, TLS_MAX_VERSION, &sctx, &cctx,
cert, privkey)) {
printf("Failed to create SSL_CTX pair\n");
goto err;