summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2021-12-29 22:50:30 +0000
committertb <>2021-12-29 22:50:30 +0000
commite2acf8faae2aa86fd96fcca850e4af4fa544812f (patch)
tree4dc8b703765d0286796bc88c2601ce86db169504 /src
parent371d53f923421e63de6b86871958992aed896bbd (diff)
downloadopenbsd-e2acf8faae2aa86fd96fcca850e4af4fa544812f.tar.gz
openbsd-e2acf8faae2aa86fd96fcca850e4af4fa544812f.tar.bz2
openbsd-e2acf8faae2aa86fd96fcca850e4af4fa544812f.zip
One more leak of the same kind
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/tlsext/tlsexttest.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: tlsexttest.c,v 1.54 2021/12/29 22:49:23 tb Exp $ */ 1/* $OpenBSD: tlsexttest.c,v 1.55 2021/12/29 22:50:30 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -2079,7 +2079,7 @@ test_tlsext_sessionticket_client(void)
2079 /* Test re-enabling tickets. */ 2079 /* Test re-enabling tickets. */
2080 if ((SSL_clear_options(ssl, SSL_OP_NO_TICKET) & SSL_OP_NO_TICKET) != 0) { 2080 if ((SSL_clear_options(ssl, SSL_OP_NO_TICKET) & SSL_OP_NO_TICKET) != 0) {
2081 FAIL("Cannot re-enable tickets in the TLS connection\n"); 2081 FAIL("Cannot re-enable tickets in the TLS connection\n");
2082 return 0; 2082 goto err;
2083 } 2083 }
2084 if (!tlsext_sessionticket_client_needs(ssl, SSL_TLSEXT_MSG_CH)) { 2084 if (!tlsext_sessionticket_client_needs(ssl, SSL_TLSEXT_MSG_CH)) {
2085 FAIL("client should need SessionTicket if it was disabled\n"); 2085 FAIL("client should need SessionTicket if it was disabled\n");