aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJacob Appelbaum <jacob@appelbaum.net>2014-10-13 14:04:16 +0000
committerJacob Appelbaum <jacob@appelbaum.net>2014-10-13 14:04:16 +0000
commit71ce881dbc45760ab6f58b6a56a3f29896fd48e8 (patch)
tree0868b22967e9f3b53a5bb098d3167369070704f3 /src
parent9cd0ccb00c3a5586901ffedae57dc045ad0188e3 (diff)
downloadtlsdate-71ce881dbc45760ab6f58b6a56a3f29896fd48e8.tar.gz
sanitize subjectAltName
Diffstat (limited to 'src')
-rw-r--r--src/tlsdate-helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tlsdate-helper.c b/src/tlsdate-helper.c
index 0e5d927..168f9fb 100644
--- a/src/tlsdate-helper.c
+++ b/src/tlsdate-helper.c
@@ -733,7 +733,8 @@ check_san (SSL *ssl, const char *hostname)
break;
}
}
- verb_debug ("V: subjectAltName found but not matched: %s, type: %s", nval->value, nval->name); // XXX: Clean this string!
+ verb_debug ("V: subjectAltName found but not matched: %s, type: %s",
+ nval->value, sanitize_string(nval->name));
}
}
} else {