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:
parent
44e7892131
commit
30b68a0af2
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user