projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additions to the Feedback page to emphasise that we can't answer all
[u/mdw/putty]
/
noise.c
diff --git
a/noise.c
b/noise.c
index
856974b
..
a094d25
100644
(file)
--- a/
noise.c
+++ b/
noise.c
@@
-53,8
+53,10
@@
void random_save_seed(void)
int len;
void *data;
int len;
void *data;
- random_get_savedata(&data, &len);
- write_random_seed(data, len);
+ if (random_active) {
+ random_get_savedata(&data, &len);
+ write_random_seed(data, len);
+ }
}
/*
}
/*