diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2015-07-22 17:46:15 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2015-07-22 17:46:15 +0200 |
commit | 2096d54198141735cab76cd25f1a3bd062acc9e7 (patch) | |
tree | 5c2ee088b41b173ba540c40ec093c59657f6472d /src/swanctl/commands/list_certs.c | |
parent | aaeb524cea6e3fc1e80d8b0e061cd3751697785e (diff) | |
download | strongswan-5.3.3dr1.tar.bz2 strongswan-5.3.3dr1.tar.xz |
Improved legibility of swanctl CRL listings5.3.3dr1
Diffstat (limited to 'src/swanctl/commands/list_certs.c')
-rw-r--r-- | src/swanctl/commands/list_certs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/swanctl/commands/list_certs.c b/src/swanctl/commands/list_certs.c index ecb65289a..167f8d848 100644 --- a/src/swanctl/commands/list_certs.c +++ b/src/swanctl/commands/list_certs.c @@ -2,6 +2,9 @@ * Copyright (C) 2014 Martin Willi * Copyright (C) 2014 revosec AG * + * Copyright (C) 2015 Andreas Steffen + * HSR Hochschule fuer Technik Rapperswil + * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your @@ -388,7 +391,7 @@ static void print_crl(crl_t *crl) chunk = chunk_skip_zero(chunk); localtime_r(&ts, &tm); strftime(buf, sizeof(buf), "%F %T", &tm); - printf(" %#B %N %s\n", &chunk, crl_reason_names, reason, buf); + printf(" %#B: %s, %N\n", &chunk, buf, crl_reason_names, reason); count++; } enumerator->destroy(enumerator); |