diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-02-25 21:05:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-02-25 21:05:42 +0000 |
commit | 2be0508f0de762c8a336a686f685784a0474b9cf (patch) | |
tree | a2b31a5cbb6f730750044f3b7a52fd36a2fc03f1 /src/common/tortls.c | |
parent | ea668225c020a9f33bfe8f741d52f5e550acb399 (diff) | |
download | tor-2be0508f0de762c8a336a686f685784a0474b9cf.tar tor-2be0508f0de762c8a336a686f685784a0474b9cf.tar.gz |
Be specific about which "illegal character" we just saw in the cert.
svn:r3699
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index 9f7bf326d..94c13fdfa 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -625,7 +625,8 @@ tor_tls_get_peer_cert_nickname(tor_tls *tls, char *buf, size_t buflen) if (lenout == -1) goto error; if (((int)strspn(buf, LEGAL_NICKNAME_CHARACTERS)) < lenout) { - log_fn(LOG_WARN, "Peer certificate nickname has illegal characters."); + log_fn(LOG_WARN, "Peer certificate nickname '%s' has illegal characters.", + buf); goto error; } X509_free(cert); |