From: Simon Tatham Date: Sun, 12 Jan 2003 14:49:44 +0000 (+0000) Subject: Just like under Windows, cleanup_exit() shouldn't need to check X-Git-Tag: r8855-g4f798d~1775 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=b0ef4c87042d6efe0b2fad7a76dfe37d5d3cd9a1;p=PuTTY_svn.git Just like under Windows, cleanup_exit() shouldn't need to check before calling random_save_seed(). git-svn-id: http://svn.tartarus.org/sgt/putty@2562 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/unix/uxcons.c b/unix/uxcons.c index 579178c7..c172b0a3 100644 --- a/unix/uxcons.c +++ b/unix/uxcons.c @@ -25,10 +25,7 @@ void cleanup_exit(int code) * Clean up. */ sk_cleanup(); - - if (cfg.protocol == PROT_SSH) - random_save_seed(); - + random_save_seed(); exit(code); }