Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 8 May 2015 14:38:54 -0400
From: Mathieu Laprise <>
Subject: Re: [core john] [Johnny] Windows event loop

> > #ifdef __CYGWIN32__
> >
> >       SetConsoleCtrlHandler(sig_handle_abort_ctrl, TRUE);
> >
> > #endif
> It looks like it is for cygwin builds. But there may be a mingw build,
> no?

You have a good point. The code I copy pasted with CYGWIN32 was from
john-proper. But in jumbo, the code for this signal has #ifdef
WIN32_SIGNAL_HANDLER . So I guess since you said mingw was only supported
on jumbo, it's gonna be okay.

> If you do
>   SetConsoleCtrlHandler(NULL, TRUE);
> does CTRL_BREAK close johnny?

Unfortunately yes :( I tried that yesterday which was supposed to work but
it didn't. I think that I saw somewhere in the Windows API that the NULL
thing was only working with CTRL_C and maybe others but that we couldn't

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.