From e53113b8ac537089007194e77b4efec2cf2264bd Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 24 Sep 2011 23:06:35 +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 63536754ce..33be6badbc 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