summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/common/tortls.c4
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;
}