diff options
author | Roger Dingledine <arma@torproject.org> | 2004-07-19 19:49:03 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-07-19 19:49:03 +0000 |
commit | 19deb93c2952def6d1ce260b4c179d5e206e4fea (patch) | |
tree | e6ea295f4eb3c13eae61717affe2128da4f8c4d7 | |
parent | 54c129d8dcbf27ec8f5117b46401a414fafe3b2e (diff) | |
download | tor-19deb93c2952def6d1ce260b4c179d5e206e4fea.tar.gz tor-19deb93c2952def6d1ce260b4c179d5e206e4fea.zip |
more useful warning messages
(fixed because the old ones confused a user)
svn:r2055
-rw-r--r-- | src/common/tortls.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |