PR_ASSERT(data && data->output_fn && data->decoder_context);
MimeCMS_write (const char *buf, PRInt32 buf_size, void *closure){  MimeCMSdata *data = (MimeCMSdata *) closure;  nsresult rv;  PR_ASSERT(data && data->output_fn && data->decoder_context);  if (!data || !data->output_fn || !data->decoder_context) return -1;  PR_SetError(0, 0);  rv = data->decoder_context->Update(buf, buf_size);  if (NS_FAILED(rv)) {    data->verify_error = -1;  }  return 0;}