RNG_RNGInit();
status = RNG_RNGInit();     	 if (status != SECSuccess) goto loser;
nss_Init(const char *configdir, const char *certPrefix, const char *keyPrefix, const char *secmodName, PRBool readOnly){    SECStatus status;    SECStatus rv      = SECFailure;    RNG_RNGInit();     		/* initialize random number generator */    RNG_SystemInfoForRNG();    status = nss_OpenCertDB(configdir, certPrefix, readOnly);    if (status != SECSuccess)	goto loser;    status = nss_OpenKeyDB(configdir, keyPrefix, readOnly);    if (status != SECSuccess)	goto loser;    status = nss_OpenSecModDB(configdir, secmodName);    if (status != SECSuccess)	goto loser;    rv = SECSuccess;loser:    if (rv != SECSuccess) 	NSS_Shutdown();    return rv;}