mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
fix tabs
This commit is contained in:
parent
f8a92d1eed
commit
dcd1527a11
6
random.c
6
random.c
@ -157,9 +157,9 @@ static void write_urandom()
|
|||||||
/* This is opportunistic, don't worry about failure */
|
/* This is opportunistic, don't worry about failure */
|
||||||
unsigned char buf[INIT_SEED_SIZE];
|
unsigned char buf[INIT_SEED_SIZE];
|
||||||
FILE *f = fopen(DROPBEAR_URANDOM_DEV, "w");
|
FILE *f = fopen(DROPBEAR_URANDOM_DEV, "w");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
genrandom(buf, sizeof(buf));
|
genrandom(buf, sizeof(buf));
|
||||||
fwrite(buf, sizeof(buf), 1, f);
|
fwrite(buf, sizeof(buf), 1, f);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user