Peter Schellenbach's patch: re-implement the PuTTY cryptographic
[u/mdw/putty] / scp.c
diff --git a/scp.c b/scp.c
index 8a82b2f..d4446a7 100644 (file)
--- a/scp.c
+++ b/scp.c
@@ -814,6 +814,9 @@ int main(int argc, char *argv[])
        ssh_send_eof();
        ssh_recv(&ch, 1);
     }
+#ifdef MSCRYPTOAPI
+    crypto_wrapup();
+#endif
     WSACleanup();
     random_save_seed();