summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2013-04-02 18:59:00 +0800
committerMatt Johnston <matt@ucc.asn.au>2013-04-02 18:59:00 +0800
commitdcd1527a1125eef0e9171f440276522476624fd8 (patch)
tree9a51ab748251b6597c21ce4b38194ce0b71ea2a4
parentf8a92d1eedbd3e01fb70efb02dad543cc1297570 (diff)
fix tabs
-rw-r--r--random.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/random.c b/random.c
index f935e21..1f687a2 100644
--- a/random.c
+++ b/random.c
@@ -157,9 +157,9 @@ static void write_urandom()
/* 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);