diff options
| author | 2020-04-06 16:44:15 +0000 | |
|---|---|---|
| committer | 2020-04-06 16:44:15 +0000 | |
| commit | e5196d4c289ca9ac57710efca4135b6e7113fccc (patch) | |
| tree | 07fd9ca5099c6ec15424ffa2f09bf2d43acbdd49 | |
| parent | Remove redundant VOP_CLOSE() and vput(). The fail branch will close (diff) | |
| download | wireguard-openbsd-e5196d4c289ca9ac57710efca4135b6e7113fccc.tar.xz wireguard-openbsd-e5196d4c289ca9ac57710efca4135b6e7113fccc.zip | |
Use errx() if we fail to build the client hello.
| -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, " |
