summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-04-06 16:44:16 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-04-06 16:44:16 +0000
commit8fa1e481f687bf8a15155c602313fec801c08524 (patch)
tree4f0b741db82a50cddc8f12102e9ae7f1f745bdad /regress
parent25ca27f914bcd4849a300a021e6a13ca27d36755 (diff)
Use errx() if we fail to build the client hello.
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libssl/client/clienttest.c2
1 files changed, 1 insertions, 1 deletions
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, "