summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-08-15 10:45:26 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-08-15 10:45:26 +0000
commit7690f941bad2b1789f73447a913123e000b9f48e (patch)
tree4e88b710ab9415e837d05d6a674bb305fd2c45ea
parent6665586be4243e5db3767bf3a8c3372e134e4436 (diff)
Remove redeclaration of ret
When ret was introduced in an outer scope in r1.113, this declaration wasn't garbage collected. ok jsing
-rw-r--r--lib/libssl/ssl_clnt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/ssl_clnt.c b/lib/libssl/ssl_clnt.c
index 224aa1032fb..13196848681 100644
--- a/lib/libssl/ssl_clnt.c
+++ b/lib/libssl/ssl_clnt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_clnt.c,v 1.151 2022/07/03 14:52:39 jsing Exp $ */
+/* $OpenBSD: ssl_clnt.c,v 1.152 2022/08/15 10:45:25 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -1757,7 +1757,6 @@ ssl3_get_cert_status(SSL *s)
}
if (s->ctx->internal->tlsext_status_cb) {
- int ret;
ret = s->ctx->internal->tlsext_status_cb(s,
s->ctx->internal->tlsext_status_arg);
if (ret == 0) {