random: Protect another use of jent_rng_collector.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 10 Apr 2018 02:01:57 +0000 (11:01 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 10 Apr 2018 02:01:57 +0000 (11:01 +0900)
commit0de2a22fcf6607d0aecb550feefa414cee3731b2
tree25ee1d004080c9f746a2c57041aaa15ce6be4d8f
parent9b58e4a03ba3aeff7bae3f40da706977870c9649
random: Protect another use of jent_rng_collector.

* random/rndjent.c (_gcry_rndjent_get_version): Lock the access.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
random/rndjent.c