]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
scepclient: Improved debugging
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 24 Jul 2022 19:05:40 +0000 (21:05 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 26 Jul 2022 18:48:35 +0000 (20:48 +0200)
src/scepclient/scepclient.c

index 8b21de3d92b69c07e2866994f121958280a6e9fc..d94c85346b82029d28a4b0c2cf6d19e9f46e0c98 100644 (file)
@@ -1037,6 +1037,8 @@ int main(int argc, char **argv)
                                        exit_scepclient("could not write cert file '%s': %s",
                                                                        path, strerror(errno));
                                }
+                               DBG1(DBG_APP, "%s cert \"%Y\" written to '%s'",
+                                        ca_cert ? "CA" : "RA", cert->get_subject(cert), path);
                                chunk_free(&encoding);
                        }
                        enumerator->destroy(enumerator);