/* Return a bit vector describing how well the addresses ADDR and
U_ADDR match and whether KEY is valid. */
/* Return a bit vector describing how well the addresses ADDR and
U_ADDR match and whether KEY is valid. */
but we know that this may only be text thus we assume Latin-1
here. */
if (!mutt_get_body_charset (body_charset, sizeof (body_charset), m))
but we know that this may only be text thus we assume Latin-1
here. */
if (!mutt_get_body_charset (body_charset, sizeof (body_charset), m))
will be set to true on return if the user did override the the
key's validity. */
static crypt_key_t *crypt_select_key (crypt_key_t * keys,
will be set to true on return if the user did override the the
key's validity. */
static crypt_key_t *crypt_select_key (crypt_key_t * keys,
|| (option (OPTPGPLONGIDS)
&& !m_strncasecmp(p, "0x", 2)
&& !m_strcasecmp(p + 2, crypt_keyid (k) + 8))
|| (option (OPTPGPLONGIDS)
&& !m_strncasecmp(p, "0x", 2)
&& !m_strcasecmp(p + 2, crypt_keyid (k) + 8))
for (l = id_defaults; l; l = l->next)
if (!m_strcasecmp(whatfor, l->what)) {
for (l = id_defaults; l; l = l->next)
if (!m_strcasecmp(whatfor, l->what)) {
/* This routine attempts to find the keyids of the recipients of a
message. It returns NULL if any of the keys can not be found. */
/* This routine attempts to find the keyids of the recipients of a
message. It returns NULL if any of the keys can not be found. */
-static char *find_keys (ADDRESS * to, ADDRESS * cc, ADDRESS * bcc,
+static char *find_keys (address_t * to, address_t * cc, address_t * bcc,
int i;
crypt_key_t *k_info, *key;
const char *fqdn = mutt_fqdn (1);
int i;
crypt_key_t *k_info, *key;
const char *fqdn = mutt_fqdn (1);
{
return find_keys (to, cc, bcc, APPLICATION_PGP);
}
{
return find_keys (to, cc, bcc, APPLICATION_PGP);
}
{
return find_keys (to, cc, bcc, APPLICATION_SMIME);
}
{
return find_keys (to, cc, bcc, APPLICATION_SMIME);
}
is_smime ? APPLICATION_SMIME :
APPLICATION_PGP, NULL))) {
snprintf (input_signas, sizeof (input_signas), "0x%s", crypt_keyid (p));
is_smime ? APPLICATION_SMIME :
APPLICATION_PGP, NULL))) {
snprintf (input_signas, sizeof (input_signas), "0x%s", crypt_keyid (p));