summaryrefslogtreecommitdiffstats
path: root/crypto/rand/randfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/randfile.c')
-rw-r--r--crypto/rand/randfile.c1
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);