* Clean up.
*/
sk_cleanup();
+
+ if (cfg.protocol == PROT_SSH)
+ random_save_seed();
+
exit(code);
}
void logevent(void *frontend, char *string)
{
+ log_eventlog(logctx, string);
}
int console_get_line(const char *prompt, char *str,
str[i] = '\0';
if (is_pw)
- fputs("\r\n", stdout);
+ fputs("\n", stdout);
}
return 1;
}