From 19fcbdbb59f4035fa5aecc316ceb6798b52dbc9f Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Apr 17 2015 19:45:55 +0000 Subject: Fix certificate retrieval in dogtag-submit Don't accidentally get a profile listing instead of retrieving a certificate (static analysis). --- diff --git a/src/dogtag.c b/src/dogtag.c index 69cc27d..f4211d8 100644 --- a/src/dogtag.c +++ b/src/dogtag.c @@ -659,6 +659,7 @@ main(int argc, char **argv) "xml=true", params); use_agent_approval = FALSE; + break; case op_profiles: /* Retrieving the list of profiles. */ url = talloc_asprintf(ctx, "%s/profileList", eeurl);