Read complete seed files given in -rand options.
authorBodo Möller <bodo@openssl.org>
Sat, 4 Mar 2000 17:44:07 +0000 (17:44 +0000)
committerBodo Möller <bodo@openssl.org>
Sat, 4 Mar 2000 17:44:07 +0000 (17:44 +0000)
apps/app_rand.c

index 9dc32f9..1146f9f 100644 (file)
@@ -178,7 +178,7 @@ long app_RAND_load_files(char *name)
 
                egd=RAND_egd(n);
                if (egd > 0) tot+=egd;
-               tot+=RAND_load_file(n,1024L*1024L);
+               tot+=RAND_load_file(n,-1);
                if (last) break;
                }
        if (tot > 512)