mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
(gpgsm_get_certid): Cast printf arg to unsigned.
Bug accidently introduced while solving the #$%^& gcc signed/unsigned char* warnings.
This commit is contained in:
parent
53a1347fbe
commit
8889f4a2ee
@ -1,3 +1,9 @@
|
||||
2005-07-19 Werner Koch <wk@g10code.com>
|
||||
|
||||
* fingerprint.c (gpgsm_get_certid): Cast printf arg to unsigned.
|
||||
Bug accidently introduced while solving the #$%^& gcc
|
||||
signed/unsigned char* warnings.
|
||||
|
||||
2005-06-15 Werner Koch <wk@g10code.com>
|
||||
|
||||
* delete.c (delete_one): Changed FPR to unsigned.
|
||||
|
@ -318,7 +318,7 @@ gpgsm_get_certid (ksba_cert_t cert)
|
||||
sprintf (endp, "%02X", hash[i]);
|
||||
*endp++ = '.';
|
||||
for (i=0; i < n; i++, endp += 2)
|
||||
sprintf (endp, "%02X", p[i]);
|
||||
sprintf (endp, "%02X", ((unsigned char*)p)[i]);
|
||||
*endp = 0;
|
||||
|
||||
xfree (serial);
|
||||
@ -328,5 +328,3 @@ gpgsm_get_certid (ksba_cert_t cert)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user