projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4984f96
)
Print the attributes EAP-TLS extension attribute we're not going to add
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 30 Mar 2015 16:38:32 +0000
(12:38 -0400)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Mon, 30 Mar 2015 16:41:27 +0000
(12:41 -0400)
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
d54abc3
..
af1271f
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-1871,7
+1871,12
@@
int cbtls_verify(int ok, X509_STORE_CTX *ctx)
}
vp = pairmake(talloc_ctx, certs, attribute, value, T_OP_ADD);
- rdebug_pair_list(L_DBG_LVL_2, request, vp, NULL);
+ if (!vp) {
+ RDEBUG3("Skipping %s += '%s'. Define %s in the server dictionary "
+ "if you require this attribute", attribute, value, attribute);
+ } else {
+ rdebug_pair_list(L_DBG_LVL_2, request, vp, NULL);
+ }
}
BIO_free_all(out);