aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-04-12 20:16:14 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-04-12 20:16:14 +0000
commit4390abeb94d7d15821602bcd27f53620417ab4b2 (patch)
tree5ad958a61dfcb0e66216510964e5063abfd6e277 /src
parente4c58fdb09dfbbc7db5be87a9dfbeb76995bb823 (diff)
downloadstrongswan-4390abeb94d7d15821602bcd27f53620417ab4b2.tar.bz2
strongswan-4390abeb94d7d15821602bcd27f53620417ab4b2.tar.xz
added trailing newline to list()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/libstrongswan/crypto/crl.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstrongswan/crypto/crl.c b/src/libstrongswan/crypto/crl.c
index bf3776975..e2535f7d3 100755
--- a/src/libstrongswan/crypto/crl.c
+++ b/src/libstrongswan/crypto/crl.c
@@ -427,27 +427,27 @@ static void list(private_crl_t *this, FILE* out, bool utc)
fprintf(out, " next %#T ", &this->nextUpdate, utc);
if (this->nextUpdate == UNDEFINED_TIME)
{
- fprintf(out, "ok (expires never)");
+ fprintf(out, "ok (expires never)\n");
}
else if (now > this->nextUpdate)
{
- fprintf(out, "expired (%V ago)", &now, &this->nextUpdate);
+ fprintf(out, "expired (%V ago)\n", &now, &this->nextUpdate);
}
else if (now > this->nextUpdate - CRL_WARNING_INTERVAL * 60 * 60 * 24)
{
- fprintf(out, "ok (expires in %V)", &now, &this->nextUpdate);
+ fprintf(out, "ok (expires in %V)\n", &now, &this->nextUpdate);
}
else
{
- fprintf(out, "ok");
+ fprintf(out, "ok\n");
}
if (this->authKeyID.ptr)
{
- fprintf(out, "\n authkey: %#B", &this->authKeyID);
+ fprintf(out, " authkey: %#B\n", &this->authKeyID);
}
if (this->authKeySerialNumber.ptr)
{
- fprintf(out, "\n aserial: %#B", &this->authKeySerialNumber);
+ fprintf(out, " aserial: %#B\n", &this->authKeySerialNumber);
}
}