added listaacerts, listacerts, listgroups, rereadaacerts, and rereadacerts keywords
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 14 Apr 2007 17:33:29 +0000 (17:33 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 14 Apr 2007 17:33:29 +0000 (17:33 -0000)
src/charon/control/stroke_interface.c

index 885cf93..2087da4 100755 (executable)
@@ -1259,6 +1259,14 @@ static void stroke_list(private_stroke_interface_t *this,
        {
                list_auth_certificates(this, AUTH_CA, "CA", msg->list.utc, out);
        }
+       if (msg->list.flags & LIST_OCSPCERTS)
+       {
+               list_auth_certificates(this, AUTH_OCSP, "OCSP", msg->list.utc, out);
+       }
+       if (msg->list.flags & LIST_AACERTS)
+       {
+               list_auth_certificates(this, AUTH_AA, "AA", msg->list.utc, out);
+       }
        if (msg->list.flags & LIST_CAINFOS)
        {
                ca_info_t *ca_info;
@@ -1298,10 +1306,6 @@ static void stroke_list(private_stroke_interface_t *this,
         }
         iterator->destroy(iterator);
        }
-       if (msg->list.flags & LIST_OCSPCERTS)
-       {
-               list_auth_certificates(this, AUTH_OCSP, "OCSP", msg->list.utc, out);
-       }
        if (msg->list.flags & LIST_OCSP)
        {
                ca_info_t *ca_info;