Fix a logical bug where Arc4Gen was left in invalid state after a failed
Rekey() call.
This commit is contained in:
1 parent
894f41fa57
commit
aefa68f118
2 files changed
+51
No files matched your search
@@ -66,6 +66,8 @@ private:
|
||||
template<typename InputIt>
|
||||
void RekeyImpl(InputIt keyBegin, InputIt keyEnd)
|
||||
{
|
||||
IsInitialized_ = false;
|
||||
|
||||
I_ = 0;
|
||||
J_ = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user