Loose end from timing shakeup: sshrand.c is now a client of
[u/mdw/putty] / windows / winpgen.c
index 3f2be92..e80dbfe 100644 (file)
@@ -1445,7 +1445,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
             help_path = NULL;
     }
 
-    random_init();
+    random_ref();
     return DialogBox(hinst, MAKEINTRESOURCE(201), NULL,
                     MainDlgProc) != IDOK;
 }