Re: HEADS UP: OpenSSL problems after GCC 4.2 upgrade

From: Ed Schouten <ed_at_fxq.nl>
Date: Sun, 20 May 2007 13:44:13 +0200
* Vlad GALU <dudu_at_dudu.ro> wrote:
>  On 5/20/07, Ed Schouten <ed_at_fxq.nl> wrote:
> > Hello,
> >
> > * Vlad GALU <dudu_at_dudu.ro> wrote:
> > >    There might be a PEBKAC here, but after applying the patch
> > >  (cleanly) and rebuilding/reinstalling everything under
> > >  /usr/src/secure, OpenVPN still crashes with SIGILL.
> >
> > The problem lies within macro's that are compiled within applications
> > that make use of the OpenSSL library. Could you try recompiling OpenVPN
> > (and other apps/libs that make use of OpenSSL) as well?
> 
>    Yes, I've just done that. The crashes I mentioned happen when I
>  rebuild the OpenVPN port, while performing the sanity tests (right
>  after compiling and linking).

Well, I guess the previous mentioned patch doesn't fix all cases. I
still get a lot of warnings during compilation of OpenSSL after applying
the patch that look like this:

| d1_srvr.c: In function 'dtls1_send_server_key_exchange':
| d1_srvr.c:845: warning: function called through a non-compatible type
| d1_srvr.c:845: note: if this code is reached, the program will abort

Below is a list of all source files with their corresponding line
numbers on which the warnings occur:

| d1_clnt.c:912
| d1_srvr.c:845
| s3_clnt.c:1856
| s3_lib.c:1756
| s3_lib.c:1937
| s3_srvr.c:1224
| ssl_cert.c:215

All these lines of code make use of the DHparams_dup() macro, so I
suspect fixing that macro should cure the crashes.

-- 
 Ed Schouten <ed_at_fxq.nl>
 WWW: http://g-rave.nl/

Received on Sun May 20 2007 - 09:44:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC