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 9dc32f99a214a3a47cd236cede69c3f968c6fa74..1146f9f7f38ad986a38296cc68567569a41dafe6 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)