#ifdef HAVE_MINGW
static struct WSAData wsa_state;
+CRITICAL_SECTION mutex;
#endif
static void usage(bool status)
generate_keys &= ~7; /* Round it to bytes */
} else
- generate_keys = 1024;
+ generate_keys = 2048;
break;
case 'R': /* chroot to NETNAME dir */
int main2(int argc, char **argv)
{
+ InitializeCriticalSection(&mutex);
+ EnterCriticalSection(&mutex);
#endif
if(!detach())