projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
mutt_ssl.c
diff --git
a/mutt_ssl.c
b/mutt_ssl.c
index
f124b99
..
5196e48
100644
(file)
--- a/
mutt_ssl.c
+++ b/
mutt_ssl.c
@@
-26,6
+26,10
@@
#include "mutt_curses.h"
#include "mutt_ssl.h"
#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
#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 = strstr (line, ndx);
if (c) {
- c +=
mutt
_strlen (ndx);
+ c +=
safe
_strlen (ndx);
c2 = strchr (c, '/');
if (c2)
*c2 = '\0';
c2 = strchr (c, '/');
if (c2)
*c2 = '\0';