aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-09-15 18:53:37 +0000
committerWerner Koch <[email protected]>2006-09-15 18:53:37 +0000
commit7f42987b075e39847cb576388419747e0a167e42 (patch)
treea22758549e243c6b930f311ad0bcf3d99e3327fe /agent/command.c
parentTake advantage of newer gpg-error features. (diff)
downloadgnupg-7f42987b075e39847cb576388419747e0a167e42.tar.gz
gnupg-7f42987b075e39847cb576388419747e0a167e42.zip
Allow for a global trustlist.
Diffstat (limited to '')
-rw-r--r--agent/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/command.c b/agent/command.c
index 1c6ab8b79..94d770a3c 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -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))