From 520f716decbc4d56dac01c2d84e93b082f87bb75 Mon Sep 17 00:00:00 2001 From: Simon Tatham 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(). [originally from svn r2562] --- 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); }