Kernel: Fix rng regression from bc7a149039

This commit is contained in:
Nico Weber 2020-08-13 12:53:26 -04:00 committed by Andreas Kling
parent 11b9e8b366
commit db6a4f2954

View file

@ -73,8 +73,8 @@ public:
cipher.key_stream(buffer_span, counter_span, &counter_span);
// Extract a new key from the prng stream.
cipher.key_stream(buffer_span, counter_span, &counter_span);
Bytes key_span = m_key.span();
cipher.key_stream(key_span, counter_span, &counter_span);
}
template<typename T>