initialise i if n == 0
(backport from HEAD)
This commit is contained in:
parent
a068a1d0e3
commit
7493bcc659
@ -2260,6 +2260,8 @@ int ssl3_get_client_key_exchange(SSL *s)
|
|||||||
EVP_PKEY *skey = NULL;
|
EVP_PKEY *skey = NULL;
|
||||||
if (n)
|
if (n)
|
||||||
n2s(p,i);
|
n2s(p,i);
|
||||||
|
else
|
||||||
|
i = 0;
|
||||||
if (n && n != i+2)
|
if (n && n != i+2)
|
||||||
{
|
{
|
||||||
if (!(s->options & SSL_OP_SSLEAY_080_CLIENT_DH_BUG))
|
if (!(s->options & SSL_OP_SSLEAY_080_CLIENT_DH_BUG))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user