mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
make sure eivlen is initialised
This commit is contained in:
parent
1579e65604
commit
d18a0df0a6
@ -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 New Issue
Block a user