projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1649f89
)
Mash name spaces to dashes, too
author
Alan T. DeKok
<aland@freeradius.org>
Thu, 9 Apr 2015 14:22:48 +0000
(10:22 -0400)
committer
Alan T. DeKok
<aland@freeradius.org>
Thu, 9 Apr 2015 14:22:48 +0000
(10:22 -0400)
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
205ac66
..
1438d03
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-1886,6
+1886,10
@@
int cbtls_verify(int ok, X509_STORE_CTX *ctx)
attribute[16 + len] = '\0';
+ for (p = attribute + 16; *p != '\0'; p++) {
+ if (*p == ' ') *p = '-';
+ }
+
X509V3_EXT_print(out, ext, 0, 0);
len = BIO_read(out, value , sizeof(value) - 1);
if (len <= 0) continue;