projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nico Golde:
[apps/madmutt.git]
/
pgp.c
diff --git
a/pgp.c
b/pgp.c
index
ecb6815
..
ed9a0c8
100644
(file)
--- a/
pgp.c
+++ b/
pgp.c
@@
-27,6
+27,10
@@
#include "mime.h"
#include "copy.h"
#include "mime.h"
#include "copy.h"
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#include <sys/wait.h>
#include <string.h>
#include <stdlib.h>
#include <sys/wait.h>
#include <string.h>
#include <stdlib.h>
@@
-1006,7
+1010,7
@@
static short is_numerical_keyid (const char *s)
/* or should we require the "0x"? */
if (strncmp (s, "0x", 2) == 0)
s += 2;
/* or should we require the "0x"? */
if (strncmp (s, "0x", 2) == 0)
s += 2;
- if (strlen (s) % 8)
+ if (
mutt_
strlen (s) % 8)
return 0;
while (*s)
if (strchr ("0123456789ABCDEFabcdef", *s++) == NULL)
return 0;
while (*s)
if (strchr ("0123456789ABCDEFabcdef", *s++) == NULL)