drop the old string API fully.
[apps/madmutt.git] / smime.c
diff --git a/smime.c b/smime.c
index 3db7185..804ba95 100644 (file)
--- a/smime.c
+++ b/smime.c
@@ -414,7 +414,7 @@ char *smime_ask_for_key (char *prompt, char *mailbox, short public)
         continue;
 
       /* Check if query matches this certificate */
-      if (!str_isstr (fields[0], qry) && !str_isstr (fields[2], qry))
+      if (!m_stristr(fields[0], qry) && !m_stristr(fields[2], qry))
         continue;
 
       Table[cur].hash = hash;