X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-crypt%2Fsmime.c;h=24ed09a765b28ee9e9e85a54863f84384bbdd0f4;hb=d8aeb41018aaf2f85fbd937278ffdd94164e236e;hp=f96b31d027791be2aa304b35e68579bd1c22f43b;hpb=0dbe922d4298aed78dcba64b7c770f315a64505e;p=apps%2Fmadmutt.git diff --git a/lib-crypt/smime.c b/lib-crypt/smime.c index f96b31d..24ed09a 100644 --- a/lib-crypt/smime.c +++ b/lib-crypt/smime.c @@ -9,33 +9,12 @@ * please see the file GPL in the top level source directory. */ -#if HAVE_CONFIG_H -# include "config.h" -#endif - -#include -#include -#include -#include -#include -#include -#include +#include -#ifdef HAVE_LOCALE_H -# include -#endif -#ifdef HAVE_SYS_TIME_H -# include -#endif #ifdef HAVE_SYS_RESOURCE_H # include #endif -#include -#include -#include -#include - #include #include @@ -756,7 +735,7 @@ char *smime_findKeys (address_t * to, address_t * cc, address_t * bcc) if (fqdn) rfc822_qualify (tmp, fqdn); - tmp = mutt_remove_duplicates (tmp); + address_list_uniq(&tmp); for (p = tmp; p; p = p->next) { char buf[LONG_STRING];