1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Allow for a global trustlist.

This commit is contained in:
Werner Koch 2006-09-15 18:53:37 +00:00
parent 03d3322e5f
commit 7f42987b07
17 changed files with 802 additions and 268 deletions

View file

@ -153,7 +153,7 @@ plus_to_blank (char *s)
static size_t
percent_plus_unescape (char *string)
{
unsigned char *p = string;
unsigned char *p = (unsigned char *)string;
size_t n = 0;
while (*string)
@ -240,7 +240,7 @@ cmd_istrusted (assuan_context_t ctx, char *line)
char *p;
char fpr[41];
/* parse the fingerprint value */
/* Parse the fingerprint value. */
for (p=line,n=0; hexdigitp (p); p++, n++)
;
if (*p || !(n == 40 || n == 32))