make sure eivlen is initialised
This commit is contained in:
parent
1579e65604
commit
d18a0df0a6
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue