/* * Clean up and exit. */ void cleanup_exit(int code) { /* * Clean up. */ sk_cleanup(); random_save_seed(); #ifdef MSCRYPTOAPI crypto_wrapup(); #endif exit(code); }
/* * Clean up and exit. */ void cleanup_exit(int code) { /* * Clean up. */ sk_cleanup(); WSACleanup(); if (cfg.protocol == PROT_SSH) { random_save_seed(); #ifdef MSCRYPTOAPI crypto_wrapup(); #endif } exit(code); }