From: Richard Levitte Date: Thu, 2 Feb 2017 22:45:38 +0000 (+0100) Subject: Initialise alg_k and alg_a X-Git-Tag: OpenSSL_1_1_1-pre1~2485 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02cba628daa7fea959c561531a8a984756bdf41c;p=openssl Initialise alg_k and alg_a Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2543) --- diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index de771a21f0..0d8421032f 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3581,7 +3581,7 @@ const SSL_CIPHER *ssl3_choose_cipher(SSL *s, STACK_OF(SSL_CIPHER) *clnt, const SSL_CIPHER *c, *ret = NULL; STACK_OF(SSL_CIPHER) *prio, *allow; int i, ii, ok; - unsigned long alg_k, alg_a, mask_k, mask_a; + unsigned long alg_k = 0, alg_a = 0, mask_k, mask_a; /* Let's see which ciphers we can support */