From 30b68a0af2df78958aa6ec73b00014e55711a777 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 20 Jun 2005 04:18:23 +0000 Subject: r7773: fixed the tls code for the non-GNUTLS case (This used to be commit bc6bc84ef4ad3434c6cb8d94a8d7a105ad2fd8c2) --- source4/lib/tls/tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/tls') diff --git a/source4/lib/tls/tls.c b/source4/lib/tls/tls.c index 49f7b758c0..f89e2f1028 100644 --- a/source4/lib/tls/tls.c +++ b/source4/lib/tls/tls.c @@ -519,7 +519,7 @@ struct tls_context *tls_init_server(struct tls_params *params, 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; } -- cgit