random: Minor fix for getting the rndjent version.
authorWerner Koch <wk@gnupg.org>
Mon, 17 Jul 2017 10:34:13 +0000 (12:34 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 17 Jul 2017 12:05:08 +0000 (14:05 +0200)
commit9d99c6b973caa7fdf93b53cf764066214f763803
tree2673b66ccb32a2c8725b4ecee208cadade349c7f
parent61b0f52c1cc85bf8c3cac9aba40e28682e4e1b8b
random: Minor fix for getting the rndjent version.

* random/rndjent.c (_gcry_rndjent_get_version): Always set R_ACTIVE.
* tests/version.c (test_get_config): Check number of fields for
rng-type.

Signed-off-by: Werner Koch <wk@gnupg.org>
random/rndjent.c
tests/version.c