PK11_FreeSlot(keySlot);
initNSS(CGIVarTable *varTable){  const char *nssDir;  PK11SlotInfo *keySlot;  SECStatus rv;  nssDir = CGITableFindValue(varTable,"NSSDirectory");  if (nssDir == NULL) {    missingVar = "NSSDirectory";    return REQ_CGI_VAR_NOT_PRESENT;  }  rv = NSS_Init(nssDir);  if (rv != SECSuccess) {    return NSS_INIT_FAILED;  }  PK11_SetPasswordFunc(passwordCallback);  keySlot = PK11_GetInternalKeySlot();  rv = PK11_Authenticate(keySlot, PR_FALSE, varTable);  if (rv != SECSuccess) {    return AUTH_FAILED;  }  return NO_ERROR;}