diff options
author | jsing <> | 2020-04-06 16:44:15 +0000 |
---|---|---|
committer | jsing <> | 2020-04-06 16:44:15 +0000 |
commit | d8c0de95f3fe598a98309a74fb59335db7d321d5 (patch) | |
tree | c3b4171b746a2bbd08ad7a395ba29839a0c8c35d | |
parent | 88624381b593bd2db75613e1f49fca6f4df14ca6 (diff) | |
download | openbsd-d8c0de95f3fe598a98309a74fb59335db7d321d5.tar.gz openbsd-d8c0de95f3fe598a98309a74fb59335db7d321d5.tar.bz2 openbsd-d8c0de95f3fe598a98309a74fb59335db7d321d5.zip |
Use errx() if we fail to build the client hello.
-rw-r--r-- | src/regress/lib/libssl/client/clienttest.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
388 | 388 | ||
389 | if (make_client_hello(cht->protocol, &client_hello, | 389 | if (make_client_hello(cht->protocol, &client_hello, |
390 | &client_hello_len) != 0) | 390 | &client_hello_len) != 0) |
391 | goto failure; | 391 | errx(1, "failed to make client hello"); |
392 | 392 | ||
393 | if ((size_t)len != client_hello_len) { | 393 | if ((size_t)len != client_hello_len) { |
394 | fprintf(stderr, "FAIL: test returned ClientHello length %li, " | 394 | fprintf(stderr, "FAIL: test returned ClientHello length %li, " |