]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: testmgr - fix RNG return code enforcement
authorStephan Mueller <smueller@chronox.de>
Tue, 10 Mar 2015 16:00:36 +0000 (17:00 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 10 Jun 2015 12:05:57 +0000 (14:05 +0200)
commit56005f9a961016e2977e12f1c5bd69601234c77c
treefa2caea233d8d65c5a502a69a06c4e7755523e9e
parentf60b0fa8bbddde66f1d197be07120264b555c84a
crypto: testmgr - fix RNG return code enforcement

commit 19e60e1392d110be03d794e2286dd6cfd779cbe3 upstream.

Due to the change to RNGs to always return zero in success case, the
invocation of the RNGs in the test manager must be updated as otherwise
the RNG self tests are not properly executed any more.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Alexander Bergmann <abergmann@suse.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
crypto/testmgr.c