X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=pgpkey.c;h=b31676a5ec5985c42f911f36f4929670c25c2f19;hb=51c07577bff89fde3038940cc06ac01bc28557b9;hp=e289083fe7c894ec33e1d82f7494ad8d6a4a6aa9;hpb=83532821ae9fab034d0d630b78330c9ea4ff4cf3;p=apps%2Fmadmutt.git diff --git a/pgpkey.c b/pgpkey.c index e289083..b31676a 100644 --- a/pgpkey.c +++ b/pgpkey.c @@ -40,8 +40,6 @@ #include -#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 */