svn commit: samba r7773 - in branches/SAMBA_4_0/source/lib/tls: .
tridge at samba.org
tridge at samba.org
Mon Jun 20 04:18:23 GMT 2005
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;
}
More information about the samba-cvs
mailing list