return nsnull;
return NS_ERROR_FAILURE;
nsPSMSocketInfo::GetPickledStatus(char * *pickledStatusString){    *pickledStatusString = nsnull;    if (mSocket && mControl)    {        long level;        CMTItem pickledStatus = {0, nsnull, 0};        unsigned char* ret    = nsnull;        if (CMT_GetSSLSocketStatus(mControl, mSocket, &pickledStatus, &level) == PR_FAILURE)            return nsnull;                ret = (unsigned char*) PR_Malloc( (SSMSTRING_PADDED_LENGTH(pickledStatus.len) + sizeof(int)) );        if (!ret)             return NS_ERROR_OUT_OF_MEMORY;        *(int*)ret = pickledStatus.len;        memcpy(ret+sizeof(int), pickledStatus.data, *(int*)ret);            PR_FREEIF(pickledStatus.data);            *pickledStatusString = (char*) ret;    }    return NS_OK;}