Re: probleme with message_exemple
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 25 Apr 2007 11:41:07 +0200 (CEST)
On Wed Apr 25 2007, CADROY Hervé wrote:
> Hi :)
>
> I compile under mandriva for a embeded linux
> And i don't have a TLS implementation.
>  With the pre4 version , it's work good.

Thanks, the attached patchlet should fix that.

cheers,
Jakob
Index: clientbase.cpp
===================================================================
--- clientbase.cpp      (revision 2128)
+++ clientbase.cpp      (working copy)
@@ -1242,7 +1242,7 @@
 
   TLSBase* ClientBase::getDefaultEncryption()
   {
-    if( !m_tls )
+    if( !m_tls || !hasTls() )
       return 0;
 
     return new TLSDefault( this, m_server );

Attachment: pgpGW0mLKgAfF.pgp
Description: PGP signature