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:
64095ce
)
initialise i if n == 0
author
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Feb 2012 15:03:44 +0000
(15:03 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Wed, 22 Feb 2012 15:03:44 +0000
(15:03 +0000)
ssl/s3_srvr.c
patch
|
blob
|
history
diff --git
a/ssl/s3_srvr.c
b/ssl/s3_srvr.c
index c5606b2d0f68cf4bda0983e9e084a30ed570970f..4b483c9bafc91d91354c8284b4ecf5f6d268852d 100644
(file)
--- a/
ssl/s3_srvr.c
+++ b/
ssl/s3_srvr.c
@@
-2270,6
+2270,8
@@
int ssl3_get_client_key_exchange(SSL *s)
EVP_PKEY *skey = NULL;
if (n)
n2s(p,i);
+ else
+ i = 0;
if (n && n != i+2)
{
if (!(s->options & SSL_OP_SSLEAY_080_CLIENT_DH_BUG))