зеркало из https://github.com/mozilla/gecko-dev.git
Bug 158339: we should not call secmod_freeParams if RNG_RNGInit fails.
This commit is contained in:
Родитель
975a3e12c6
Коммит
bb5752e0f0
|
@ -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();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче