projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cbceba
)
If the source has already been succesfully queried, do not try to open it
author
Lutz Jänicke
<jaenicke@openssl.org>
Sat, 3 Feb 2001 10:59:13 +0000
(10:59 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Sat, 3 Feb 2001 10:59:13 +0000
(10:59 +0000)
again as file.
apps/app_rand.c
patch
|
blob
|
history
diff --git
a/apps/app_rand.c
b/apps/app_rand.c
index 2126fd5aa1981d9795454eeb8cb407f511ec7bf5..9d6d5fbf6f84ef7d4a15ea32d679b10e79dddf72 100644
(file)
--- a/
apps/app_rand.c
+++ b/
apps/app_rand.c
@@
-180,8
+180,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)