diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-11 11:52:36 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-11 11:52:36 +0000 |
commit | ef1f2a7d07b70f1211102f52e64669a3372d2bf3 (patch) | |
tree | 1ded0b2c354273feb8693239d0d3399d3209088f /regress/lib | |
parent | 50fc30f5d397c5c511717d40371e9978c6af0d2a (diff) |
Keep servertest silent and align with clienttest
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libssl/server/servertest.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libssl/server/servertest.c b/regress/lib/libssl/server/servertest.c index f13b2601031..d572d14520f 100644 --- a/regress/lib/libssl/server/servertest.c +++ b/regress/lib/libssl/server/servertest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: servertest.c,v 1.8 2023/07/11 10:09:47 tb Exp $ */ +/* $OpenBSD: servertest.c,v 1.9 2023/07/11 11:52:35 tb Exp $ */ /* * Copyright (c) 2015, 2016, 2017 Joel Sing <jsing@openbsd.org> * @@ -164,12 +164,13 @@ server_hello_test(int testno, struct server_hello_test *sht) if (SSL_accept(ssl) != 0) { if (sht->accept_fails) - ret = 0; + goto done; fprintf(stderr, "SSL_accept() returned non-zero\n"); ERR_print_errors_fp(stderr); goto failure; } + done: ret = 0; failure: |