summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-04-28 18:14:59 +0000
committertb <>2023-04-28 18:14:59 +0000
commitd3ecbd34f95ff9287f91cae359973926293c9800 (patch)
treeca33cea665a9c86f972b7ffec9591e25b69bf5ca /src
parentda3dc213d1c7cf62220f27441673778d6796c986 (diff)
downloadopenbsd-d3ecbd34f95ff9287f91cae359973926293c9800.tar.gz
openbsd-d3ecbd34f95ff9287f91cae359973926293c9800.tar.bz2
openbsd-d3ecbd34f95ff9287f91cae359973926293c9800.zip
Too many stupid things whine about these being used uninitialized
(which they aren't), so appease them.
Diffstat (limited to 'src')
-rw-r--r--src/lib/libssl/ssl_tlsext.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c
index 7b843c6fe6..5dd4b69dc5 100644
--- a/src/lib/libssl/ssl_tlsext.c
+++ b/src/lib/libssl/ssl_tlsext.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.c,v 1.136 2023/04/27 10:50:37 tb Exp $ */ 1/* $OpenBSD: ssl_tlsext.c,v 1.137 2023/04/28 18:14:59 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -2251,7 +2251,7 @@ int
2251tlsext_randomize_build_order(SSL *s) 2251tlsext_randomize_build_order(SSL *s)
2252{ 2252{
2253 size_t idx, new_idx, psk_idx; 2253 size_t idx, new_idx, psk_idx;
2254 size_t alpn_idx, sni_idx; 2254 size_t alpn_idx = 0, sni_idx = 0;
2255 2255
2256 free(s->tlsext_build_order); 2256 free(s->tlsext_build_order);
2257 s->tlsext_build_order_len = 0; 2257 s->tlsext_build_order_len = 0;