From 1403d269af3c47e9132bcff9c0e79e3cbe948011 Mon Sep 17 00:00:00 2001 From: "bishakhabanerjee%netscape.com" Date: Tue, 14 Jan 2003 01:03:21 +0000 Subject: [PATCH] Bug 171263 - NSS test apps to check return value of NSS_Shutdown --- security/nss/cmd/dbtest/dbtest.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/nss/cmd/dbtest/dbtest.c b/security/nss/cmd/dbtest/dbtest.c index 047b86f28da..17700983c97 100644 --- a/security/nss/cmd/dbtest/dbtest.c +++ b/security/nss/cmd/dbtest/dbtest.c @@ -169,6 +169,9 @@ int main(int argc, char **argv) SECU_PrintPRandOSError(progName); ret=NSS_INITIALIZE_FAILED_ERR; } else { + if (NSS_Shutdown() != SECSuccess) { + exit(1); + } ret=SUCCESS; }