mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
checking return value of NSS_Shutdown() - bug 171263
This commit is contained in:
parent
6d93899099
commit
b9eafcbc3d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user