aboutsummaryrefslogtreecommitdiffstats
path: root/sm/call-dirmngr.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-07-20 15:05:05 +0000
committerWerner Koch <[email protected]>2005-07-20 15:05:05 +0000
commit68191d0c935719d9ab171e49b6456372c72cf1c4 (patch)
tree895ecabf2a925e1e5b8128a509284f1c6d66e61f /sm/call-dirmngr.c
parent(gpgsm_get_certid): Cast printf arg to unsigned. (diff)
downloadgnupg-68191d0c935719d9ab171e49b6456372c72cf1c4.tar.gz
gnupg-68191d0c935719d9ab171e49b6456372c72cf1c4.zip
* keylist.c (email_kludge): Reworked.
* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
Diffstat (limited to '')
-rw-r--r--sm/call-dirmngr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sm/call-dirmngr.c b/sm/call-dirmngr.c
index 847e78490..ead117dfd 100644
--- a/sm/call-dirmngr.c
+++ b/sm/call-dirmngr.c
@@ -827,7 +827,7 @@ gpgsm_dirmngr_run_command (CTRL ctrl, const char *command,
*p++ = '+';
else if (!isprint (*s) || *s == '+')
{
- sprintf (p, "%%%02X", *s);
+ sprintf (p, "%%%02X", *(const unsigned char *)s);
p += 3;
}
else