Commit 0baed5e9 authored by Matt Caswell's avatar Matt Caswell
Browse files

Initialise the al variable



al can be used uninitialised in an error path.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2020)
parent ac52c4be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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