[or-cvs] Be specific about which "illegal character" we just saw in ...
Nick Mathewson
nickm at seul.org
Fri Feb 25 21:05:45 UTC 2005
Update of /home/or/cvsroot/tor/src/common
In directory moria.mit.edu:/tmp/cvs-serv15544/src/common
Modified Files:
tortls.c
Log Message:
Be specific about which "illegal character" we just saw in the cert.
Index: tortls.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/common/tortls.c,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- tortls.c 22 Feb 2005 07:03:02 -0000 1.85
+++ tortls.c 25 Feb 2005 21:05:42 -0000 1.86
@@ -625,7 +625,8 @@
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);
More information about the tor-commits
mailing list