From: Dr. Stephen Henson Date: Sat, 24 Sep 2011 23:06:35 +0000 (+0000) Subject: make sure eivlen is initialised X-Git-Tag: OpenSSL_1_0_1-beta1~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e53113b8ac537089007194e77b4efec2cf2264bd;p=oweals%2Fopenssl.git make sure eivlen is initialised --- 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;