[Openswan dev] nss/nspr4 warning and PLUTO_SENDS_VENDORID vs HAVE_LIBNSS
Elio Maldonado Batiz
elio.maldonado.batiz at gmail.com
Sun Jan 3 14:55:24 EST 2010
On Sun, Jan 3, 2010 at 10:25 AM, Paul Wouters <paul at xelerance.com> wrote:
> On Sat, 2 Jan 2010, Elio Maldonado Batiz wrote:
> Paul, Avesh,
>> Regarding the compile error I had the same problem and know the cause,
>> see below
> The problem is with the NSPR header not with openswan.
>> Openswan uses the -Wstrict-prototypes flag (and -Werror) but the header
>> In prlink.h the offending lines are line 52
>> void (*fp)(); -----------------> should use
>> and line 221
>> typedef void (*PRFuncPtr)(); -----------------> should use (void)
>> In the meantime the attached works around it by patch relaxing prototype
>> enforcement in the makefiles for rsasignkey and shhowhostkey.
> Thanks. I've merged in your patch, and we'll remove it again once nspr
> is fixed.
> I'll submit this work-around for fedora openswan
>> and log a bug and send a patch for nspr.
> If you have a url/bug number for us for the nspr, please let us know so
> we can reference it.
I searched and someone already filed a similar bug regarding strict
There is a long discussion. Unfortunately, it won't be fixed for fear of
breaking existing code.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev