samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r7773 - in branches/SAMBA_4_0/source/lib/tls: .

Subject: svn commit: samba r7773 - in branches/SAMBA_4_0/source/lib/tls: .
From:
Date: Mon, 20 Jun 2005 04:18:23 +0000 GMT
Author: tridge
Date: 2005-06-20 04:18:23 +0000 (Mon, 20 Jun 2005)
New Revision: 7773

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7773

Log:
fixed the tls code for the non-GNUTLS case


Modified:
   branches/SAMBA_4_0/source/lib/tls/tls.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/tls/tls.c
===================================================================
--- branches/SAMBA_4_0/source/lib/tls/tls.c     2005-06-20 01:35:25 UTC (rev 
7772)
+++ branches/SAMBA_4_0/source/lib/tls/tls.c     2005-06-20 04:18:23 UTC (rev 
7773)
@@ -519,7 +519,7 @@
                                    const char *plain_chars,
                                    BOOL tls_enable)
 {
-       if (plain_chars == NULL) return NULL;
+       if (tls_enable && plain_chars == NULL) return NULL;
        return (struct tls_context *)sock;
 }
 

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r7773 - in branches/SAMBA_4_0/source/lib/tls: ., tridge <=