new revision: 1.19; previous revision: 1.18

This commit is contained in:
bishakhabanerjee%netscape.com 2003-01-07 22:29:54 +00:00
parent 59d62355ce
commit 985e092196

View File

@ -450,7 +450,9 @@ int main(int argc, char **argv)
if (prStatus == PR_SUCCESS) {
PR_Shutdown(s, PR_SHUTDOWN_BOTH);
PR_Close(s);
NSS_Shutdown();
if (NSS_Shutdown() != SECSuccess) {
exit(1);
}
PR_Cleanup();
return 0;
}
@ -727,7 +729,10 @@ int main(int argc, char **argv)
done:
PR_Close(s);
SSL_ClearSessionCache();
NSS_Shutdown();
if (NSS_Shutdown() != SECSuccess) {
exit(1);
}
PR_Cleanup();
return error;
}