projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Peter Schellenbach's patch: re-implement the PuTTY cryptographic
[u/mdw/putty]
/
window.c
diff --git
a/window.c
b/window.c
index
83e709e
..
8a87584
100644
(file)
--- a/
window.c
+++ b/
window.c
@@
-474,8
+474,12
@@
int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
DeleteObject(pal);
WSACleanup();
DeleteObject(pal);
WSACleanup();
- if (cfg.protocol == PROT_SSH)
+ if (cfg.protocol == PROT_SSH)
{
random_save_seed();
random_save_seed();
+#ifdef MSCRYPTOAPI
+ crypto_wrapup();
+#endif
+ }
return msg.wParam;
}
return msg.wParam;
}