diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-11-08 09:30:39 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-11-08 09:30:42 +0100 |
commit | 3a181d85ff9e7abd1819fee87030d8eef96688df (patch) | |
tree | c51faeb4d8253cdc5ed4740bfd2dad621ace7cd1 /src/p11tool.c | |
parent | fd309b3c7e8cd34fa7a8de851b8640905d29eb73 (diff) | |
download | gnutls-3a181d85ff9e7abd1819fee87030d8eef96688df.tar.gz |
p11tool: introduced --only-urls option
This option allows printing a compact listing containing only of URLs.
Diffstat (limited to 'src/p11tool.c')
-rw-r--r-- | src/p11tool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p11tool.c b/src/p11tool.c index b647cbbcd9..c21b05922f 100644 --- a/src/p11tool.c +++ b/src/p11tool.c @@ -191,6 +191,10 @@ static void cmd_parser(int argc, char **argv) batch = cinfo.batch = 1; } + if (HAVE_OPT(ONLY_URLS)) { + batch = cinfo.only_urls = 1; + } + if (ENABLED_OPT(INDER) || ENABLED_OPT(INRAW)) cinfo.incert_format = GNUTLS_X509_FMT_DER; else |