#include <locale.h>
-#ifdef CRYPT_BACKEND_CLASSIC_PGP
-
struct pgp_cache {
char *what;
char *dflt;
if (whatfor) {
if (l)
- str_replace (&l->dflt, resp);
+ m_strreplace(&l->dflt, resp);
else {
l = p_new(struct pgp_cache, 1);
l->next = id_defaults;
&& !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;
return NULL;
}
-
-
-#endif /* CRYPT_BACKEND_CLASSIC_PGP */