RNG_RNGInit();
rv = RNG_RNGInit(); if (rv != SECSuccess) { return rv; }
NSS_NoDB_Init(const char * configdir){                CERTCertDBHandle certhandle = { 0 };      SECStatus rv = SECSuccess;      SECMODModule *module;      /* now we want to verify the signature */      /*  Initialize the cert code */      rv = CERT_OpenVolatileCertDB(&certhandle);      if (rv != SECSuccess) {	   return rv;      }      CERT_SetDefaultCertDB(&certhandle);      RNG_RNGInit();      RNG_SystemInfoForRNG();      PK11_InitSlotLists();      module = SECMOD_NewInternal();      if (module == NULL) {	   return SECFailure;      }      rv = SECMOD_LoadModule(module);      if (rv != SECSuccess) {	   return rv;      }      SECMOD_SetInternalModule(module);      return rv;}