From: Roger Dingledine Date: Mon, 19 Jul 2004 19:49:03 +0000 (+0000) Subject: more useful warning messages X-Git-Tag: tor-0.0.8pre1~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=19deb93c2952def6d1ce260b4c179d5e206e4fea;p=thirdparty%2Ftor.git more useful warning messages (fixed because the old ones confused a user) svn:r2055 --- diff --git a/src/common/tortls.c b/src/common/tortls.c index cfca993caf..f2b8ae0394 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -619,12 +619,12 @@ tor_tls_verify(tor_tls *tls, crypto_pk_env_t *identity_key) 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; }