From: tb Date: Tue, 11 Jul 2023 11:52:35 +0000 (+0000) Subject: Keep servertest silent and align with clienttest X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5c10583e9bf03b9b2fae2690aa577f3d7adf7bc8;p=openbsd Keep servertest silent and align with clienttest --- 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 * @@ -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: