X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=mutt_ssl.c;h=0ea28c458d6a4898bd2e1a0ac8943d13c0e9b862;hb=590b3d82cd60994c06b2fae936008cdbc1a3611b;hp=7372e2b53730fa6909877c9f92da1019f0ac5080;hpb=c3e57678c8be193fc137854020f3a90887be97c9;p=apps%2Fmadmutt.git diff --git a/mutt_ssl.c b/mutt_ssl.c index 7372e2b..0ea28c4 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 += strlen (ndx); + c += mutt_strlen (ndx); c2 = strchr (c, '/'); if (c2) *c2 = '\0';