From 3be4835b5061fa7feccc63b6be9d54ef0a469000 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 4 Sep 2006 07:24:04 +0000 Subject: [PATCH] (pcert_print) print keystore info when --info flag is given. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17968 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hx509/hxtool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hx509/hxtool.c b/lib/hx509/hxtool.c index 7a6924e10..8972fb108 100644 --- a/lib/hx509/hxtool.c +++ b/lib/hx509/hxtool.c @@ -489,6 +489,8 @@ pcert_print(struct print_options *opt, int argc, char **argv) ret = hx509_certs_init(context, argv[0], 0, lock, &certs); if (ret) hx509_err(context, 1, ret, "hx509_certs_init"); + if (opt->info_flag) + hx509_certs_info(context, certs, NULL, NULL); hx509_certs_iter(context, certs, print_f, &s); hx509_certs_free(&certs); argv++;