From: Lutz Jänicke Date: Sat, 3 Feb 2001 10:59:16 +0000 (+0000) Subject: If the source has already been succesfully queried, do not try to open it X-Git-Tag: OpenSSL_0_9_6a-beta1~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=53ab745f7adac268d0e88fb7c414c2c379e4324b;p=oweals%2Fopenssl.git If the source has already been succesfully queried, do not try to open it again as file. --- diff --git a/apps/app_rand.c b/apps/app_rand.c index 1146f9f7f3..8a78e12eb7 100644 --- a/apps/app_rand.c +++ b/apps/app_rand.c @@ -177,8 +177,10 @@ long app_RAND_load_files(char *name) if (*n == '\0') break; egd=RAND_egd(n); - if (egd > 0) tot+=egd; - tot+=RAND_load_file(n,-1); + if (egd > 0) + tot+=egd; + else + tot+=RAND_load_file(n,-1); if (last) break; } if (tot > 512)