Merge pull request #3644 from dgarske/zd11476
Fix for sniffer with TLS v1.2 static ECDH ciphers
This commit is contained in:
commit
fff3c77568
@ -2111,6 +2111,8 @@ static int SetupKeys(const byte* input, int* sslBytes, SnifferSession* session,
|
||||
/* If we can do ECC, this isn't fatal. Not loading an ECC
|
||||
* key will be fatal, though. */
|
||||
SetError(RSA_DECODE_STR, error, session, 0);
|
||||
if (keys->ecKey == NULL)
|
||||
keys->ecKey = session->sslServer->buffers.key; /* try ECC */
|
||||
#endif
|
||||
}
|
||||
#ifdef HAVE_ECC
|
||||
|
Loading…
x
Reference in New Issue
Block a user