git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29edfb9
)
r7773: fixed the tls code for the non-GNUTLS case
author
Andrew Tridgell
<tridge@samba.org>
Mon, 20 Jun 2005 04:18:23 +0000
(
04:18
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:34 +0000
(13:18 -0500)
source/lib/tls/tls.c
patch
|
blob
|
history
diff --git
a/source/lib/tls/tls.c
b/source/lib/tls/tls.c
index 49f7b758c0dbc811e147b23f89ada29a6c9c0955..f89e2f1028b79ae970a31747c54a07b34de997fa 100644
(file)
--- a/
source/lib/tls/tls.c
+++ b/
source/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;
}