[Chilli] [PATCH] Re: Compiling error in ssl.c
Frank Münnich
mail at frank-muennich.com
Wed Jul 20 17:12:20 UTC 2011
Dear All,
in my attempts to resolve the problems I got when compiling CoovaChilli
--with-openssl for the current OpenWRT trunk , I found out that
apparently there have been changes to the header files from OpenSSL
somewhere between 0.9.8 and 1.0.0.d. Building OpenWRT trunk also
usually fetches the most recent OpenSSL source could and builds it.
I created a patch for CoovaChilli that worked for me, however: I'm a C
beginner and thus would kindly ask for anyone with some spare time to
review and test the attached patch.
Thanks in advance
Frank
Attached: patch-ssl.patch and a GPG signature to it
On 12.07.2011 20:35, Frank Muennich wrote:
>
> Dear all,
>
>
>
> when I try to compile coova-chilli-1.2.7 (or 1.2.8 now) through
> OpenWRT buildroot, I get an error saying that
>
>
>
> cc1: warnings being treated as errors
> ssl.c: In function '_openssl_env_init':
> ssl.c:197:15: error: assignment discards qualifiers from pointer
> target type
> ssl.c: In function 'openssl_check_accept':
> ssl.c:395:11: error: assignment discards qualifiers from pointer
> target type
>
>
>
> and thus compilation fails and aborts.
> I'm by no means a C expert, so if anyone could tell me what to do, or
> has a patch for those two lines, I'd greatly appreciate it.
> Best regards
>
> Frank
>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-ssl.patch
URL: <http://lists.coova.org/pipermail/chilli/attachments/20110720/16d3c157/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-ssl.patch.asc
URL: <http://lists.coova.org/pipermail/chilli/attachments/20110720/16d3c157/attachment.asc>
More information about the Chilli
mailing list