diff options
author | Wan-Teh Chang <wtc@google.com> | 2015-08-18 15:10:12 -0700 |
---|---|---|
committer | Wan-Teh Chang <wtc@google.com> | 2015-08-18 15:10:12 -0700 |
commit | adbfb43df57fc5fc5b48e6605afc0e50355fdc22 (patch) | |
tree | 392f37a468a13a93e3e7b9358a61b2299e3e2d99 /cmd/pp | |
parent | 1484b915e0329c3f03cdcd09e8f3dfe2be8bee8e (diff) | |
download | nss-hg-adbfb43df57fc5fc5b48e6605afc0e50355fdc22.tar.gz |
Bug 337796: Add conditional compilation (#ifdef HAVE_EPV_TEMPLATE) to
the usage message. r=rrelyea.
Diffstat (limited to 'cmd/pp')
-rw-r--r-- | cmd/pp/pp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/cmd/pp/pp.c b/cmd/pp/pp.c index 73bf0764e..5a69a994e 100644 --- a/cmd/pp/pp.c +++ b/cmd/pp/pp.c @@ -25,8 +25,11 @@ static void Usage(char *progName) "Usage: %s [-t type] [-a] [-i input] [-o output] [-w] [-u]\n", progName); fprintf(stderr, "Pretty prints a file containing ASN.1 data in DER or ascii format.\n"); - fprintf(stderr, "%-14s Specify input and display type: %s (sk),\n", - "-t type", SEC_CT_PRIVATE_KEY); + fprintf(stderr, "%-14s Specify input and display type:", "-t type"); +#ifdef HAVE_EPV_TEMPLATE + fprintf(stderr, " %s (sk),", SEC_CT_PRIVATE_KEY); +#endif + fprintf(stderr, "\n"); fprintf(stderr, "%-14s %s (pk), %s (c), %s (cr),\n", "", SEC_CT_PUBLIC_KEY, SEC_CT_CERTIFICATE, SEC_CT_CERTIFICATE_REQUEST); fprintf(stderr, "%-14s %s (ci), %s (p7), %s or %s (n).\n", "", SEC_CT_CERTIFICATE_ID, |