summaryrefslogtreecommitdiff
path: root/lib/libssl
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-28 18:15:00 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-28 18:15:00 +0000
commit816641416dca5179e74333188a4d708808ccd653 (patch)
treeeaa6f673dad7581704e40e20fded910f15a6ae75 /lib/libssl
parente01bd6acf40253ef539fb63949624a1a79593d83 (diff)
Too many stupid things whine about these being used uninitialized
(which they aren't), so appease them.
Diffstat (limited to 'lib/libssl')
-rw-r--r--lib/libssl/ssl_tlsext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libssl/ssl_tlsext.c b/lib/libssl/ssl_tlsext.c
index 7b843c6fe61..5dd4b69dc5a 100644
--- a/lib/libssl/ssl_tlsext.c
+++ b/lib/libssl/ssl_tlsext.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_tlsext.c,v 1.136 2023/04/27 10:50:37 tb Exp $ */
+/* $OpenBSD: ssl_tlsext.c,v 1.137 2023/04/28 18:14:59 tb Exp $ */
/*
* Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -2251,7 +2251,7 @@ int
tlsext_randomize_build_order(SSL *s)
{
size_t idx, new_idx, psk_idx;
- size_t alpn_idx, sni_idx;
+ size_t alpn_idx = 0, sni_idx = 0;
free(s->tlsext_build_order);
s->tlsext_build_order_len = 0;