replaced expired since %V by expired %V ago
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user