diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2020-04-06 16:44:16 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2020-04-06 16:44:16 +0000 |
commit | 8fa1e481f687bf8a15155c602313fec801c08524 (patch) | |
tree | 4f0b741db82a50cddc8f12102e9ae7f1f745bdad /regress | |
parent | 25ca27f914bcd4849a300a021e6a13ca27d36755 (diff) |
Use errx() if we fail to build the client hello.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/lib/libssl/client/clienttest.c | 2 |
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, " |