if NS_FAILED(rv) {
if (NS_FAILED(rv)) {
wallet_Decrypt(const nsCString& crypt, nsCString& text) {  /* decrypt crypt to text */  char * textCString = nsnull;  nsresult rv = DecryptString(crypt.get(), textCString);  if NS_FAILED(rv) {    return rv;  }  text = textCString;  WALLET_FREE(textCString);  return NS_OK;}