gpgsm_parse_validation_model (const char *model)
{
  if (!ascii_strcasecmp (model, "shell") )
    return 0;
  else if ( !ascii_strcasecmp (model, "chain") )
    return 1;
  else if ( !ascii_strcasecmp (model, "steed") )
    return 2;
  else
    return -1;
}
gpgsm_parse_validation_model (const char *model)
{
  if (!ascii_strcasecmp (model, "shell") )
    return 0;
  else if ( !ascii_strcasecmp (model, "chain") )
    return 1;
  else if ( !ascii_strcasecmp (model, "steed") )
    return 2;
  else
    return -1;
}