diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-10-26 12:47:58 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2023-11-02 14:22:12 +0100 |
commit | f62fec64049959cee6b80043cd697d0e7357a24a (patch) | |
tree | a0ef94fd174c76bdb48c8197ac655bfafe3b3213 /ssl | |
parent | 8cb4a47dbb7fb5249c4ab9511d8f2e2f1cc4b445 (diff) |
TLS: Fix use of an uninitialized value
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22523)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/extensions_cust.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/extensions_cust.c b/ssl/statem/extensions_cust.c index 81f20b5f6b..8b296f1f59 100644 --- a/ssl/statem/extensions_cust.c +++ b/ssl/statem/extensions_cust.c @@ -115,7 +115,7 @@ int custom_ext_parse(SSL_CONNECTION *s, unsigned int context, const unsigned char *ext_data, size_t ext_size, X509 *x, size_t chainidx) { - int al; + int al = 0; custom_ext_methods *exts = &s->cert->custext; custom_ext_method *meth; ENDPOINT role = ENDPOINT_BOTH; |