Initialise the al variable
al can be used uninitialised in an error path.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2020)
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c
index 98e19b5..84dcf08 100644
--- a/ssl/statem/statem_clnt.c
+++ b/ssl/statem/statem_clnt.c
@@ -3012,7 +3012,7 @@
int tls_construct_client_certificate(SSL *s, WPACKET *pkt)
{
- int al;
+ int al = SSL_AD_INTERNAL_ERROR;
/*
* TODO(TLS1.3): For now we must put an empty context. Needs to be filled in