mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Postfix for #7065: Connection hangs after delivery of 2**32 - 1 packets
This commit is contained in:
parent
eed81bac03
commit
98e1f406ca
@ -163,9 +163,9 @@ const unsigned char* ChaCha::getSpecificData(CheckStatusWrapper* status, const c
|
|||||||
RefPtr<IConfigEntry> entry(config->find(status, "CounterSize"));
|
RefPtr<IConfigEntry> entry(config->find(status, "CounterSize"));
|
||||||
check(status);
|
check(status);
|
||||||
if (entry.hasData())
|
if (entry.hasData())
|
||||||
*len = entry->getIntValue() == 32 ? 16 : 8;
|
*len = entry->getIntValue() == 64 ? 8 : 16;
|
||||||
else
|
else
|
||||||
*len = 8;
|
*len = 16;
|
||||||
|
|
||||||
if (*len == 16)
|
if (*len == 16)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user