]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Just like under Windows, cleanup_exit() shouldn't need to check
authorSimon Tatham <anakin@pobox.com>
Sun, 12 Jan 2003 14:49:44 +0000 (14:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 12 Jan 2003 14:49:44 +0000 (14:49 +0000)
before calling random_save_seed().

[originally from svn r2562]

unix/uxcons.c

index 579178c72e1531d1bc538c3e820cc298ed2f2387..c172b0a39bd074e75d20097b182731d58ff68608 100644 (file)
@@ -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);
 }