drop oldies
[apps/madmutt.git] / pgpkey.c
index e289083..b31676a 100644 (file)
--- a/pgpkey.c
+++ b/pgpkey.c
@@ -40,8 +40,6 @@
 
 #include <locale.h>
 
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
 struct pgp_cache {
   char *what;
   char *dflt;
@@ -939,7 +937,7 @@ pgp_key_t pgp_getkeybystr (char *p, short abilities, pgp_ring_t keyring)
               && !m_strcasecmp(p + 2, pgp_keyid (k)))
           || (option (OPTPGPLONGIDS) && !m_strncasecmp(p, "0x", 2)
               && !m_strcasecmp(p + 2, k->keyid + 8))
-          || str_isstr (a->addr, p)) {
+          || m_stristr(a->addr, p)) {
         debug_print (5, ("match.\n"));
         match = 1;
         break;
@@ -966,6 +964,3 @@ pgp_key_t pgp_getkeybystr (char *p, short abilities, pgp_ring_t keyring)
   return NULL;
 }
 
-
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */