if (secret && id == nsSSLIOLayerIdentity)
if (infoObject && id == nsSSLIOLayerIdentity)
nsSSLIOLayerClose(PRFileDesc *fd){  nsSSLIOLayerSecretData *secret = (nsSSLIOLayerSecretData *)fd->secret;  PRDescIdentity          id     = PR_GetLayersIdentity(fd);  if (secret && id == nsSSLIOLayerIdentity)  {    CMInt32 errorCode = PR_FAILURE;    if (((PRStatus) CMT_GetSSLDataErrorCode(secret->control, secret->cmsock, &errorCode)) == PR_SUCCESS)    {        CMT_DestroyDataConnection(secret->control, secret->cmsock);        PR_Free(secret);        fd->secret = NULL;        fd->identity = PR_INVALID_IO_LAYER;    }    return (PRStatus)errorCode;  }  return PR_FAILURE;}