summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbishakhabanerjee%netscape.com <devnull@localhost>2003-04-01 19:13:50 +0000
committerbishakhabanerjee%netscape.com <devnull@localhost>2003-04-01 19:13:50 +0000
commitcd7826ec50346cda761c7bf848ef5521c75cac77 (patch)
tree8712aef10fee909e439db11e808b9f53047dcd13
parente758c0111cad0d047dc0f66f67934524f4d37a8e (diff)
downloadnss-hg-cd7826ec50346cda761c7bf848ef5521c75cac77.tar.gz
checking return value of NSS_Shutdown - bug 171263
-rw-r--r--security/nss/cmd/smimetools/cmsutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/nss/cmd/smimetools/cmsutil.c b/security/nss/cmd/smimetools/cmsutil.c
index 85cc6f772..3af802431 100644
--- a/security/nss/cmd/smimetools/cmsutil.c
+++ b/security/nss/cmd/smimetools/cmsutil.c
@@ -1443,6 +1443,8 @@ main(int argc, char **argv)
if (decodeOptions.contentFile)
PR_Close(decodeOptions.contentFile);
- NSS_Shutdown();
+ if (NSS_Shutdown() != SECSuccess) {
+ exit(1);
+ }
exit(exitstatus);
}