mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Update: Also seed with the length of our seed
This commit is contained in:
parent
1654cadab3
commit
8c567e5005
@ -133,6 +133,7 @@ void prng_write(const void *buffer, size_t len)
|
||||
|
||||
thread_mutex_lock(&digest_a_lock);
|
||||
digest_write(digest_a, buffer, len);
|
||||
digest_write(digest_a, &len, sizeof(len));
|
||||
thread_mutex_unlock(&digest_a_lock);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user