checking return value of NSS_Shutdown() - bug 171263

This commit is contained in:
bishakhabanerjee%netscape.com 2003-04-01 19:23:18 +00:00
parent 6d93899099
commit b9eafcbc3d

View File

@ -436,7 +436,8 @@ int main(int argc, char **argv)
certHandle = CERT_GetDefaultCertDB();
if (certHandle == NULL) {
SECU_PrintError(progName, "unable to open the cert db");
NSS_Shutdown();
/*ignoring return value of NSS_Shutdown() as code returns -1*/
(void) NSS_Shutdown();
return (-1);
}