mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 03:54:14 +08:00
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)
This commit is contained in:
parent
8cb4a47dbb
commit
f62fec6404
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user