mirror of
https://github.com/openssl/openssl.git
synced 2024-11-30 21:44:16 +08:00
initialise i if n == 0
This commit is contained in:
parent
64095ce9d7
commit
de2b5b7439
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user