mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
Implement "putty -cleanup"
[originally from svn r626]
This commit is contained in:
10
noise.c
10
noise.c
@ -107,6 +107,16 @@ void random_save_seed(void) {
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* This function is called from `putty -cleanup'. It removes the
|
||||
* random seed file.
|
||||
*/
|
||||
void random_destroy_seed(void) {
|
||||
if (!seedpath[0])
|
||||
get_seedpath();
|
||||
remove(seedpath);
|
||||
}
|
||||
|
||||
/*
|
||||
* This function is called every time the random pool needs
|
||||
* stirring, and will acquire the system time in all available
|
||||
|
Reference in New Issue
Block a user