Mercurial > dropbear
changeset 737:7deb6fda1319
fix tabs
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 02 Apr 2013 18:59:00 +0800 |
parents | 0b854ab00333 |
children | 2001bc3c9397 |
files | random.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/random.c Tue Apr 02 18:54:04 2013 +0800 +++ b/random.c Tue Apr 02 18:59:00 2013 +0800 @@ -157,9 +157,9 @@ /* This is opportunistic, don't worry about failure */ unsigned char buf[INIT_SEED_SIZE]; FILE *f = fopen(DROPBEAR_URANDOM_DEV, "w"); - if (!f) { - return; - } + if (!f) { + return; + } genrandom(buf, sizeof(buf)); fwrite(buf, sizeof(buf), 1, f); fclose(f);