From 5c10583e9bf03b9b2fae2690aa577f3d7adf7bc8 Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 11 Jul 2023 11:52:35 +0000 Subject: [PATCH] Keep servertest silent and align with clienttest --- regress/lib/libssl/server/servertest.c | 5 +++-- 1 file 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 * @@ -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: -- 2.20.1