From d8c0de95f3fe598a98309a74fb59335db7d321d5 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Mon, 6 Apr 2020 16:44:15 +0000 Subject: Use errx() if we fail to build the client hello. --- src/regress/lib/libssl/client/clienttest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regress/lib/libssl/client/clienttest.c b/src/regress/lib/libssl/client/clienttest.c index e44b31e205..0b2f06d1e8 100644 --- a/src/regress/lib/libssl/client/clienttest.c +++ b/src/regress/lib/libssl/client/clienttest.c @@ -388,7 +388,7 @@ client_hello_test(int testno, struct client_hello_test *cht) if (make_client_hello(cht->protocol, &client_hello, &client_hello_len) != 0) - goto failure; + errx(1, "failed to make client hello"); if ((size_t)len != client_hello_len) { fprintf(stderr, "FAIL: test returned ClientHello length %li, " -- cgit v1.2.3-55-g6feb