From e85da6a57672fc612e8e4a01f41a42593e3c2230 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 12 Jan 2003 14:49:44 +0000 Subject: [PATCH] Just like under Windows, cleanup_exit() shouldn't need to check before calling random_save_seed(). git-svn-id: svn://svn.tartarus.org/sgt/putty@2562 cda61777-01e9-0310-a592-d414129be87e --- unix/uxcons.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); } -- 2.11.0