diff options
Diffstat (limited to 'source4/heimdal/lib/hcrypto/rand-egd.c')
-rw-r--r-- | source4/heimdal/lib/hcrypto/rand-egd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal/lib/hcrypto/rand-egd.c b/source4/heimdal/lib/hcrypto/rand-egd.c index 00d3286f24..dd2d3e13ec 100644 --- a/source4/heimdal/lib/hcrypto/rand-egd.c +++ b/source4/heimdal/lib/hcrypto/rand-egd.c @@ -144,7 +144,7 @@ egd_seed(const void *indata, int size) break; indata = ((unsigned char *)indata) + len; size -= len; - } + } close(fd); } @@ -170,7 +170,7 @@ get_bytes(const char *path, unsigned char *outdata, int size) break; outdata += len; size -= len; - } + } close(fd); return ret; |