X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=crypt.c;h=923b8d759b63b84a020b269002fde0caa9a81f19;hp=1512286c09b9faac2385fcd9f556a90490654e2a;hb=ee869a42bc5677da8e3602ec1947af1736786648;hpb=9a1efcc01ddeca4106847f8eb28a704aca2dcf0b diff --git a/crypt.c b/crypt.c index 1512286..923b8d7 100644 --- a/crypt.c +++ b/crypt.c @@ -16,11 +16,13 @@ # include "config.h" #endif +#include +#include +#include #include #include #include "mutt.h" -#include "ascii.h" #include "handler.h" #include "mutt_curses.h" #include "mime.h" @@ -28,7 +30,6 @@ #include "mutt_crypt.h" #include "pgp.h" -#include "lib/str.h" #include #include @@ -389,7 +390,7 @@ int mutt_is_application_smime (BODY * m) /* no .p7c, .p10 support yet. */ - len = str_len (t) - 4; + len = m_strlen(t) - 4; if (len > 0 && *(t + len) == '.') { len++; if (!ascii_strcasecmp ((t + len), "p7m"))