From d2db2cc7a24e9aa3421ade3f693ae696722ddffe Mon Sep 17 00:00:00 2001 From: "mcgreer%netscape.com" Date: Thu, 14 Dec 2000 23:59:33 +0000 Subject: [PATCH] certs-only does not require input --- security/nss/cmd/smimetools/cmsutil.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/security/nss/cmd/smimetools/cmsutil.c b/security/nss/cmd/smimetools/cmsutil.c index 6656e223052..c89488066ad 100644 --- a/security/nss/cmd/smimetools/cmsutil.c +++ b/security/nss/cmd/smimetools/cmsutil.c @@ -34,7 +34,7 @@ /* * cmsutil -- A command to work with CMS data * - * $Id: cmsutil.c,v 1.19 2000-12-11 18:42:58 mcgreer%netscape.com Exp $ + * $Id: cmsutil.c,v 1.20 2000-12-14 23:59:33 mcgreer%netscape.com Exp $ */ #include "nspr.h" @@ -1142,7 +1142,8 @@ main(int argc, char **argv) } } - SECU_FileToItem(&input, inFile); + if (mode != CERTSONLY) + SECU_FileToItem(&input, inFile); if (inFile != PR_STDIN) PR_Close(inFile); #ifdef DEBUG