summaryrefslogtreecommitdiffstats
path: root/ssl/s3_lib.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2017-02-02 23:45:38 +0100
committerRichard Levitte <levitte@openssl.org>2017-02-02 23:45:38 +0100
commit02cba628daa7fea959c561531a8a984756bdf41c (patch)
tree842a64ae233c23cb0bbaa593044d344f2811a4b4 /ssl/s3_lib.c
parent0e2c7b3ee374bb78785095589a4b0c33bca4b9c3 (diff)
Initialise alg_k and alg_a
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2543)
Diffstat (limited to 'ssl/s3_lib.c')
-rw-r--r--ssl/s3_lib.c2
1 files changed, 1 insertions, 1 deletions
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 */