return outfile;
}
-/**
- * strlower - Lower-case a string
- * @param s String to alter
- */
-static void strlower(char *s)
-{
- for (; *s; ++s)
- *s = tolower(*s);
-}
-
/**
* get_micalg - Find the "micalg" parameter from the last GPGME operation
* @param ctx GPGME handle
{
/* convert GPGME raw hash name to RFC2633 format */
snprintf(buf, buflen, "%s", algorithm_name);
- strlower(buf);
+ mutt_str_strlower(buf);
}
else
{
/* convert GPGME raw hash name to RFC3156 format */
snprintf(buf, buflen, "pgp-%s", algorithm_name);
- strlower(buf + 4);
+ mutt_str_strlower(buf + 4);
}
}
}