From e2acf8faae2aa86fd96fcca850e4af4fa544812f Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 29 Dec 2021 22:50:30 +0000 Subject: One more leak of the same kind --- src/regress/lib/libssl/tlsext/tlsexttest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libssl/tlsext/tlsexttest.c') diff --git a/src/regress/lib/libssl/tlsext/tlsexttest.c b/src/regress/lib/libssl/tlsext/tlsexttest.c index 91bf69c6a5..57fae149d0 100644 --- a/src/regress/lib/libssl/tlsext/tlsexttest.c +++ b/src/regress/lib/libssl/tlsext/tlsexttest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tlsexttest.c,v 1.54 2021/12/29 22:49:23 tb Exp $ */ +/* $OpenBSD: tlsexttest.c,v 1.55 2021/12/29 22:50:30 tb Exp $ */ /* * Copyright (c) 2017 Joel Sing * Copyright (c) 2017 Doug Hogan @@ -2079,7 +2079,7 @@ test_tlsext_sessionticket_client(void) /* Test re-enabling tickets. */ if ((SSL_clear_options(ssl, SSL_OP_NO_TICKET) & SSL_OP_NO_TICKET) != 0) { FAIL("Cannot re-enable tickets in the TLS connection\n"); - return 0; + goto err; } if (!tlsext_sessionticket_client_needs(ssl, SSL_TLSEXT_MSG_CH)) { FAIL("client should need SessionTicket if it was disabled\n"); -- cgit v1.2.3-55-g6feb