[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] more useful warning messages



Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/common

Modified Files:
	tortls.c 
Log Message:
more useful warning messages
(fixed because the old ones confused a user)


Index: tortls.c
===================================================================
RCS file: /home/or/cvsroot/src/common/tortls.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- tortls.c	18 May 2004 15:35:21 -0000	1.57
+++ tortls.c	19 Jul 2004 19:49:03 -0000	1.58
@@ -619,12 +619,12 @@
   now = time(NULL);
   t = now + CERT_ALLOW_SKEW;
   if (X509_cmp_time(X509_get_notBefore(cert), &t) > 0) {
-    log_fn(LOG_WARN,"Certificate becomes valid in the future: possible clock skew.");
+    log_fn(LOG_WARN,"Certificate becomes valid in the future: is your system clock set incorrectly?");
     goto done;
   }
   t = now - CERT_ALLOW_SKEW;
   if (X509_cmp_time(X509_get_notAfter(cert), &t) < 0) {
-    log_fn(LOG_WARN,"Certificate already expired; possible clock skew.");
+    log_fn(LOG_WARN,"Certificate already expired; is your system clock set incorrectly?");
     goto done;
   }