1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

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

(This used to be commit bc6bc84ef4)
This commit is contained in:
Andrew Tridgell 2005-06-20 04:18:23 +00:00 committed by Gerald (Jerry) Carter
parent 44e7892131
commit 30b68a0af2

View File

@ -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;
}