aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ssl_test.c')
-rw-r--r--test/ssl_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ssl_test.c b/test/ssl_test.c
index c8e71bb8b1..e5f0f3068d 100644
--- a/test/ssl_test.c
+++ b/test/ssl_test.c
@@ -413,7 +413,8 @@ static int test_handshake(int idx)
result = do_handshake(server_ctx, server2_ctx, client_ctx,
resume_server_ctx, resume_client_ctx, test_ctx);
- ret = check_test(result, test_ctx);
+ if (result != NULL)
+ ret = check_test(result, test_ctx);
err:
CONF_modules_unload(0);