aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-03-28 05:36:27 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-03-28 05:36:27 +0000
commit7a89380eca7502d52531b568bb397534082f3385 (patch)
tree40682a139e7dda340cf0a46e466e0cac9bb392b0
parentc00840478ebc3dd6744785805e54444224652643 (diff)
downloadstrongswan-7a89380eca7502d52531b568bb397534082f3385.tar.bz2
strongswan-7a89380eca7502d52531b568bb397534082f3385.tar.xz
replaced expired since %V by expired %V ago
-rw-r--r--src/libstrongswan/crypto/certinfo.c2
-rwxr-xr-xsrc/libstrongswan/crypto/crl.c2
-rwxr-xr-xsrc/libstrongswan/crypto/x509.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libstrongswan/crypto/certinfo.c b/src/libstrongswan/crypto/certinfo.c
index 3d542c994..654e4c2bd 100644
--- a/src/libstrongswan/crypto/certinfo.c
+++ b/src/libstrongswan/crypto/certinfo.c
@@ -249,7 +249,7 @@ static int print(FILE *stream, const struct printf_info *info,
&this->nextUpdate, utc);
if (now > this->nextUpdate)
{
- written += fprintf(stream, "expired (since %V)\n", &now, &this->nextUpdate);
+ written += fprintf(stream, "expired (%V ago)\n", &now, &this->nextUpdate);
}
else
{
diff --git a/src/libstrongswan/crypto/crl.c b/src/libstrongswan/crypto/crl.c
index a273b5158..685ccfc8a 100755
--- a/src/libstrongswan/crypto/crl.c
+++ b/src/libstrongswan/crypto/crl.c
@@ -451,7 +451,7 @@ static int print(FILE *stream, const struct printf_info *info,
}
else if (now > this->nextUpdate)
{
- written += fprintf(stream, "expired (since %V)", &now, &this->nextUpdate);
+ written += fprintf(stream, "expired (%V ago)", &now, &this->nextUpdate);
}
else if (now > this->nextUpdate - CRL_WARNING_INTERVAL * 60 * 60 * 24)
{
diff --git a/src/libstrongswan/crypto/x509.c b/src/libstrongswan/crypto/x509.c
index 269b2562b..58fcff16d 100755
--- a/src/libstrongswan/crypto/x509.c
+++ b/src/libstrongswan/crypto/x509.c
@@ -1186,7 +1186,7 @@ static int print(FILE *stream, const struct printf_info *info,
written += fprintf(stream, " not after %#T, ", &this->notAfter, utc);
if (now > this->notAfter)
{
- written += fprintf(stream, "expired (since %V)\n", &now, &this->notAfter);
+ written += fprintf(stream, "expired (%V ago)\n", &now, &this->notAfter);
}
else
{