projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fe83b4
)
make sure eivlen is initialised
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 24 Sep 2011 23:06:35 +0000
(23:06 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sat, 24 Sep 2011 23:06:35 +0000
(23:06 +0000)
ssl/s3_pkt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_pkt.c
b/ssl/s3_pkt.c
index 63536754ce0637605a22053b6b6400d6e5291a37..33be6badbc6f07863fa122523859ee0e53cfc052 100644
(file)
--- 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;