replaced expired since %V by expired %V ago
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 28 Mar 2007 05:36:27 +0000 (05:36 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 28 Mar 2007 05:36:27 +0000 (05:36 -0000)
src/libstrongswan/crypto/certinfo.c
src/libstrongswan/crypto/crl.c
src/libstrongswan/crypto/x509.c

index 3d542c9..654e4c2 100644 (file)
@@ -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
        {
index a273b51..685ccfc 100755 (executable)
@@ -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)
        {
index 269b256..58fcff1 100755 (executable)
@@ -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
        {