X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fsmime.c;fp=lib-crypt%2Fsmime.c;h=479fd8c5dee168d62ca94aea3b88c986b2d7617c;hb=a0aa4a45870f1607e8b41760866071692675c84d;hp=24ed09a765b28ee9e9e85a54863f84384bbdd0f4;hpb=16536d59024177409f49134c3f03f69855c144b9;p=apps%2Fmadmutt.git diff --git a/lib-crypt/smime.c b/lib-crypt/smime.c index 24ed09a..479fd8c 100644 --- a/lib-crypt/smime.c +++ b/lib-crypt/smime.c @@ -16,17 +16,19 @@ #endif #include +#include #include #include #include -#include "mutt.h" #include "alias.h" #include "handler.h" #include "copy.h" #include "alias.h" + #include "crypt.h" +#include "smime.h" struct smime_command_context { const char *key; /* %k */ @@ -607,15 +609,11 @@ char *smime_get_field_from_db (char *mailbox, char *query, short public, return m_strdup(key); } - - - /* This sets the '*ToUse' variables for an upcoming decryption, where the reuquired key is different from SmimeDefaultKey. */ - -void _smime_getkeys (char *mailbox) +static void _smime_getkeys (char *mailbox) { char *k = NULL; char buf[STRING]; @@ -735,7 +733,7 @@ char *smime_findKeys (address_t * to, address_t * cc, address_t * bcc) if (fqdn) rfc822_qualify (tmp, fqdn); - address_list_uniq(&tmp); + address_list_uniq(tmp); for (p = tmp; p; p = p->next) { char buf[LONG_STRING];