Mercurial > dropbear
diff random.c @ 737:7deb6fda1319
fix tabs
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 02 Apr 2013 18:59:00 +0800 |
parents | 73b6e5d8801b |
children | 7dcb46da72d9 5de524aec047 |
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);