Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+TsHUC6Zx4eMgxX020HeE3xUYEY3DtEB8J+XnxL+6f6+CvyZw@mail.gmail.com>
Date: Wed, 13 Mar 2013 19:18:57 +0530
From: Sayantan Datta <std2048@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: gpg2john (was: Work needed before Jumbo-8)

Hi magnum,

On Wed, Mar 13, 2013 at 12:29 PM, magnum <john.magnum@...hmail.com> wrote:

> On 13 Mar, 2013, at 7:45 , magnum <john.magnum@...hmail.com> wrote:
> > basename(3) varies with platform. I think this is portable:
> >
> >       #include <libgen.h>
> >       #include <string.h>
> >
> >       char *login;
> >       int len;
> >
> >       login = basename(strdup(filename));
> >       if (!login || !*login)
> >               strcpy(login, filename);
> >       len = strlen(login) - 4;
> >       if (strcmp(&login[len], ".gpg" ||
> >           strcmp(&login[len], ".pgp")
> >               login[len] = 0;
>
> s/strcmp/!strcmp/g
>
> magnum
>

Why does the function cfg_get_param(SECTION_OPTIONS, SUBSECTION_OPENCL,
GWS_CONFIG) always returning null ? It is supposed to get the GWS_CONFIG
value from john.conf, right?

Regards,
Sayantan

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.