projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d01e1e3
)
Complain about TLS only if there's a TLS subsection
author
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Jun 2011 08:57:11 +0000
(10:57 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Tue, 28 Jun 2011 08:57:11 +0000
(10:57 +0200)
src/main/realms.c
patch
|
blob
|
history
diff --git
a/src/main/realms.c
b/src/main/realms.c
index
38a869e
..
3727c78
100644
(file)
--- a/
src/main/realms.c
+++ b/
src/main/realms.c
@@
-684,8
+684,11
@@
static int home_server_add(realm_config_t *rc, CONF_SECTION *cs)
}
#ifndef WITH_TLS
- cf_log_err(cf_sectiontoitem(cs), "TLS transport is not available in this executable.");
- goto error;
+
+ if (tls) {
+ cf_log_err(cf_sectiontoitem(cs), "TLS transport is not available in this executable.");
+ goto error;
+ }
#else
/*
* Parse the SSL client configuration.