Re: [exim-dev] [exim] Avoid OpenSSL 1.0.1 for Exim, for now

Top Page
Delete this message
Reply to this message
Author: Phil Pennock
Date:  
To: Todd Lyons
CC: exim-dev
Subject: Re: [exim-dev] [exim] Avoid OpenSSL 1.0.1 for Exim, for now
On 2012-05-03 at 18:20 -0700, Todd Lyons wrote:
> On Thu, May 3, 2012 at 6:21 AM, Phil Pennock <pdp@???> wrote:
> > Folks,
> >
> > OpenSSL 1.0.1 adds support for TLS1.1 and TLS1.2.  It is also not
> > working with Exim at present!
>
> Do the test suite binaries, specifically client-ssl, build for you
> with openssl 1.0.1? On my Ubuntu 11.04 box with openssl 0.9.8, it
> builds just fine. On my Ubuntu 12.04 laptop with openssl 1.0.1, it
> blows up:


They build. FreeBSD 7 (yes, needs updating).

> gcc -g -O2 -DHAVE_OPENSSL -lssl -lcrypto -o bin/client-ssl src/client.c
> /tmp/ccgVn7Zy.o: In function `info_callback':
> /home/todd/projects/exim/test/src/client.c:196: undefined reference to
> `SSL_state_string_long'


Didn't some recentish release of gcc restore some historical behaviour
(of Unix cc) when it comes to symbol resolution and the order of files
and libraries on the command-line, or was that only for static linking
and .a files?

/usr/local/lib% nm libssl.so | fgrep SSL_state_string_long
0000000000046d30 T SSL_state_string_long

-Phil