From 8fa1e481f687bf8a15155c602313fec801c08524 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Mon, 6 Apr 2020 16:44:16 +0000 Subject: Use errx() if we fail to build the client hello. --- regress/lib/libssl/client/clienttest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regress') diff --git a/regress/lib/libssl/client/clienttest.c b/regress/lib/libssl/client/clienttest.c index e44b31e2058..0b2f06d1e8b 100644 --- a/regress/lib/libssl/client/clienttest.c +++ b/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