if RAND is unhappy, don't run the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19856 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -229,6 +229,9 @@ main(int argc, char **argv)
|
||||
|
||||
printf("rsa %s\n", ENGINE_get_RSA(engine)->name);
|
||||
|
||||
if (RAND_status() != 1)
|
||||
errx(77, "no functional random device, refusing to run tests");
|
||||
|
||||
if (time_keygen) {
|
||||
struct timeval tv1, tv2;
|
||||
const int num = 10;
|
||||
|
Reference in New Issue
Block a user