aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-03-03 21:10:22 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-03-03 21:10:22 +0000
commit03ffdf75260f2bc55c8a453039b2601e9d35a90a (patch)
treef34f941f173aee38d82dd82cf8ceab4a5fdc41c1
parent81020aaefd68fbbefa746dce54be35af7b498599 (diff)
downloadstrongswan-03ffdf75260f2bc55c8a453039b2601e9d35a90a.tar.bz2
strongswan-03ffdf75260f2bc55c8a453039b2601e9d35a90a.tar.xz
moved listing of crls to local_credential_store and ca
-rwxr-xr-xsrc/charon/threads/stroke_interface.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/charon/threads/stroke_interface.c b/src/charon/threads/stroke_interface.c
index 268fe56ca..0c523d8b4 100755
--- a/src/charon/threads/stroke_interface.c
+++ b/src/charon/threads/stroke_interface.c
@@ -1118,20 +1118,7 @@ static void stroke_list(stroke_msg_t *msg, FILE *out)
}
if (msg->list.flags & LIST_CRLS)
{
- crl_t *crl;
-
- iterator = charon->credentials->create_crl_iterator(charon->credentials);
- if (iterator->get_count(iterator))
- {
- fprintf(out, "\n");
- fprintf(out, "List of X.509 CRLs:\n");
- fprintf(out, "\n");
- }
- while (iterator->iterate(iterator, (void**)&crl))
- {
- fprintf(out, "%#U\n", crl, msg->list.utc);
- }
- iterator->destroy(iterator);
+ charon->credentials->list_crls(charon->credentials, out, msg->list.utc);
}
}