Bug 158339: we should not call secmod_freeParams if RNG_RNGInit fails.

This commit is contained in:
wtc%netscape.com 2002-07-19 18:31:30 +00:00
Родитель 975a3e12c6
Коммит bb5752e0f0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2449,7 +2449,7 @@ CK_RV nsc_CommonInitialize(CK_VOID_PTR pReserved, PRBool isFIPS)
rv = RNG_RNGInit(); /* initialize random number generator */
if (rv != SECSuccess) {
crv = CKR_DEVICE_ERROR;
goto loser;
return crv;
}
RNG_SystemInfoForRNG();