make sure eivlen is initialised

This commit is contained in:
Dr. Stephen Henson 2011-09-24 23:06:20 +00:00
parent 1579e65604
commit d18a0df0a6

View File

@ -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;