diff options
author | Matt Caswell <matt@openssl.org> | 2017-01-02 11:16:37 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2017-01-06 10:25:13 +0000 |
commit | 0baed5e90b5c211b092a1279b0dac50166cd34d2 (patch) | |
tree | 85f0d6878e18b1c65b495dfb5483c25a75c63f94 /ssl | |
parent | ac52c4be12399f58c66248a0a4d00434c4ab6b54 (diff) |
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)
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index 98e19b50ba..84dcf08bd4 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -3012,7 +3012,7 @@ WORK_STATE tls_prepare_client_certificate(SSL *s, WORK_STATE wst) 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 |