aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-08-29 05:35:09 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-08-29 05:35:09 +0000
commit8fa6f2dc66e25ebedbfcc48a0631372de65ab7e5 (patch)
tree677fd1c57d2db5ca0586f6c436652add7153bcb2
parente609b1cda2197ffaba506de1ef93076a5f0372ae (diff)
downloadstrongswan-8fa6f2dc66e25ebedbfcc48a0631372de65ab7e5.tar.bz2
strongswan-8fa6f2dc66e25ebedbfcc48a0631372de65ab7e5.tar.xz
streamlined ipsec listalgs output
-rw-r--r--src/charon/plugins/stroke/stroke_list.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/charon/plugins/stroke/stroke_list.c b/src/charon/plugins/stroke/stroke_list.c
index 3cd158fc6..fb33c9c7c 100644
--- a/src/charon/plugins/stroke/stroke_list.c
+++ b/src/charon/plugins/stroke/stroke_list.c
@@ -768,7 +768,7 @@ static void stroke_list_ocsp(linked_list_t* list, bool utc, FILE *out)
}
/**
- * List crypto algorithms available
+ * List of registered cryptographical algorithms
*/
static void list_algs(FILE *out)
{
@@ -779,7 +779,8 @@ static void list_algs(FILE *out)
pseudo_random_function_t prf;
diffie_hellman_group_t group;
- fprintf(out, "Userland algorithms:");
+ fprintf(out, "\n");
+ fprintf(out, "List of registered IKEv2 Algorithms:\n");
fprintf(out, "\n encryption: ");
enumerator = lib->crypto->create_crypter_enumerator(lib->crypto);
while (enumerator->enumerate(enumerator, &encryption))