Fix a logical bug where Arc4Gen was left in invalid state after a failed
Chaos Ci / test (push) Successful in 3m7s
Chaos Ci / benchmark (push) Successful in 1m26s

Rekey() call.
This commit is contained in:
hashlag committed 2026-09-20 01:36:19 +03:00
1 parent 894f41fa57
commit aefa68f118
2 files changed
+51

No files matched your search

+2
View File
@@ -66,6 +66,8 @@ private:
template<typename InputIt>
void RekeyImpl(InputIt keyBegin, InputIt keyEnd)
{
IsInitialized_ = false;
I_ = 0;
J_ = 0;