diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-21 17:50:27 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-21 17:50:27 +0000 |
commit | 60b5245360a70f4b10a6c77aa0bf5ee04b2e7262 (patch) | |
tree | 2de908febe44ee615faf54ddd405e163d72c3f63 /crypto/rand/randfile.c | |
parent | 5d82c5b3f425b13d9e75db8b21db92a8cf22159b (diff) |
Document RAND library.
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r-- | crypto/rand/randfile.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index cf98643d3c..e9721f66c2 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -92,7 +92,6 @@ int RAND_load_file(const char *file, long bytes) i=stat(file,&sb); /* If the state fails, put some crap in anyway */ RAND_add(&sb,sizeof(sb),0); - ret+=sizeof(sb); if (i < 0) return(0); if (bytes <= 0) return(ret); |