X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl.c;h=5196e48ed07a53836b39decf96ad6797a15a55ba;hp=f124b99b6892db82c806f914d29fd57d6099e581;hb=7ea0c50703a93a8fb4f0dd05fc4e023cfc9ffd36;hpb=841934011451205d8295ac955486f06c317fdf15 diff --git a/mutt_ssl.c b/mutt_ssl.c index f124b99..5196e48 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -26,6 +26,10 @@ #include "mutt_curses.h" #include "mutt_ssl.h" +#include "lib/mem.h" +#include "lib/intl.h" +#include "lib/str.h" + #if OPENSSL_VERSION_NUMBER >= 0x00904000L #define READ_X509_KEY(fp, key) PEM_read_X509(fp, key, NULL, NULL) #else @@ -369,7 +373,7 @@ static char *x509_get_part (char *line, const char *ndx) c = strstr (line, ndx); if (c) { - c += mutt_strlen (ndx); + c += safe_strlen (ndx); c2 = strchr (c, '/'); if (c2) *c2 = '\0';