make sure eivlen is initialised
This commit is contained in:
parent
1fe83b4afe
commit
e53113b8ac
@ -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 */
|
/* Need explicit part of IV for GCM mode */
|
||||||
else if (mode == EVP_CIPH_GCM_MODE)
|
else if (mode == EVP_CIPH_GCM_MODE)
|
||||||
eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN;
|
eivlen = EVP_GCM_TLS_EXPLICIT_IV_LEN;
|
||||||
|
else
|
||||||
|
eivlen = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
eivlen = 0;
|
eivlen = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user