Chris Garrigues wrote:
> > From: Chris Garrigues <[EMAIL PROTECTED]>
> > Date: Mon, 11 Jun 2001 13:13:02 -0500
> >
> > Meanwhile, I'm finding that even with keys on both ends, I can't send
> > mail...I'll post this message and keep investigating.
>
> Tired of me yet?
>
> Looking at qmail-remote.c, I realized that turning DEBUG on might be useful
> since I was getting the 'TLS not available: connect failed' message.
>
> First off, I found that the DEBUG flag wasn't being passed to ./compile when
> qmail-remote.o was created. I added that, and then the compiliation died like
> so:
>
> ./load qmail-remote control.o timeoutread.o \
> timeoutwrite.o timeoutconn.o constmap.o tcpto.o now.o dns.o ip.o \
> ipalloc.o ipme.o quote.o ndelay.a case.a sig.a open.a \
> lock.a seek.a getln.a stralloc.a alloc.a substdio.a error.a \
> str.a fs.a auto_qmail.o `cat dns.lib` `cat socket.lib` -L/usr/local/lib -lssl
>-lcrypto
> qmail-remote.o: In function `quit':
> qmail-remote.o(.text+0x85f): undefined reference to `Free'
> qmail-remote.o(.text+0x892): undefined reference to `Free'
> collect2: ld returned 1 exit status
>
> I can't find a definition for Free anywhere.
>
> Chris
>
> --
> Chris Garrigues http://www.DeepEddy.Com/~cwg/
> virCIO http://www.virCIO.Com
> 4314 Avenue C
> Austin, TX 78751-3709 +1 512 374 0500
>
> My email address is an experiment in SPAM elimination. For an
> explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
>
> Nobody ever got fired for buying Microsoft,
> but they could get fired for relying on Microsoft.
>
> ------------------------------------------------------------------------
> Part 1.2Type: application/pgp-signature
Hi Chris,
The reason why compilation fails is that the Free call has been replaced by
OPENSSL_free.
openssl <= openssl-0.9.5a -> Free
openssl >= openssl-0.9.6 -> OPENSSL_free
Out of some program i wrote....
#ifdef OLDOPENSSL
Free(str);
#else
OPENSSL_free(str);
#endif
If you replace all the free occurences in the source with OPENSSL_free then it should
work
again.
I'll be happy to assist with any problem regarding the TLS patch.
Mark