summaryrefslogtreecommitdiffstats
path: root/test/fatalerrtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fatalerrtest.c')
-rw-r--r--test/fatalerrtest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/fatalerrtest.c b/test/fatalerrtest.c
index 85b11c84aa..d3a23e5f3d 100644
--- a/test/fatalerrtest.c
+++ b/test/fatalerrtest.c
@@ -28,8 +28,9 @@ static int test_fatalerr(void)
0x17, 0x03, 0x03, 0x00, 0x05, 'D', 'u', 'm', 'm', 'y'
};
- if (!TEST_true(create_ssl_ctx_pair(TLS_method(), TLS_method(), &sctx, &cctx,
- cert, privkey)))
+ if (!TEST_true(create_ssl_ctx_pair(TLS_method(), TLS_method(),
+ TLS1_VERSION, TLS_MAX_VERSION,
+ &sctx, &cctx, cert, privkey)))
goto err;
/*