[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Be specific about which "illegal character" we just saw in ...
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] Be specific about which "illegal character" we just saw in ...
- From: nickm@xxxxxxxx (Nick Mathewson)
- Date: Fri, 25 Feb 2005 16:05:45 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Fri, 25 Feb 2005 16:06:10 -0500
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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);