From d18a0df0a6d0933caa8033f58ed224b4a9055259 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 24 Sep 2011 23:06:20 +0000 Subject: [PATCH] make sure eivlen is initialised --- ssl/s3_pkt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index eba442d9af..34a6ad7aea 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -754,6 +754,8 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, /* Need explicit part of IV for GCM mode */ else if (mode == EVP_CIPH_GCM_MODE) eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN; + else + eivlen = 0; } else eivlen = 0; -- 2.25.1