621{
625 if (c_smime_decrypt_use_default_key && c_smime_default_key)
626 {
631 NONULL(c_smime_certificates), c_smime_default_key);
632 return;
633 }
634
637 {
639 {
641 return;
642 }
643 }
644
646 {
648 {
650 return;
651 }
652 }
653
657}
void mutt_addr_free(struct Address **ptr)
Free a single Address.
bool mutt_addr_is_user(const struct Address *addr)
Does the address belong to the user.
int buf_printf(struct Buffer *buf, const char *fmt,...)
Format a string overwriting a Buffer.
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
const char * cs_subset_string(const struct ConfigSubset *sub, const char *name)
Get a string config item by name.
const char * cs_subset_path(const struct ConfigSubset *sub, const char *name)
Get a path config item by name.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
@ MODULE_ID_NCRYPT
ModuleNcrypt, Ncrypt
void * neomutt_get_module_data(struct NeoMutt *n, enum ModuleId id)
Get the private data for a Module.
#define TAILQ_FOREACH(var, head, field)
struct Address * mutt_default_from(struct ConfigSubset *sub)
Get a default 'from' Address.
static void getkeys(const char *mailbox)
Get the keys for a mailbox.
struct Buffer * mailbox
Mailbox and host address.
struct AddressList to
Email's 'To' list.
struct AddressList cc
Email's 'Cc' list.
Ncrypt private Module data.
struct Buffer smime_cert_to_use
S/MIME certificate to use.
struct Buffer smime_key_to_use
S/MIME key to use.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.