From 19deb93c2952def6d1ce260b4c179d5e206e4fea Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 19 Jul 2004 19:49:03 +0000 Subject: more useful warning messages (fixed because the old ones confused a user) svn:r2055 --- src/common/tortls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/tortls.c b/src/common/tortls.c index cfca993ca..f2b8ae039 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; } -- cgit v1.2.3