From 02cba628daa7fea959c561531a8a984756bdf41c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 2 Feb 2017 23:45:38 +0100 Subject: Initialise alg_k and alg_a Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2543) --- ssl/s3_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl/s3_lib.c') 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 */ -- cgit v1.2.3