projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a nonfatal() function everywhere, to be used for reporting things
[u/mdw/putty]
/
sshrand.c
diff --git
a/sshrand.c
b/sshrand.c
index
4c33f4a
..
85dfa0b
100644
(file)
--- a/
sshrand.c
+++ b/
sshrand.c
@@
-234,6
+234,8
@@
void random_unref(void)
int random_byte(void)
{
+ assert(random_active);
+
if (pool.poolpos >= POOLSIZE)
random_stir();