diff --git a/g10/ChangeLog b/g10/ChangeLog index addf73ac4..6763e8407 100644 --- a/g10/ChangeLog +++ b/g10/ChangeLog @@ -1,5 +1,7 @@ 2002-10-07 David Shaw + * mainproc.c (symkey_decrypt_sesskey): Fix compiler warning. + * keylist.c (print_capabilities): Properly indicate per-key capabilities of sign&encrypt primary keys that have secret-parts-missing (i.e. no capabilities at all). diff --git a/g10/mainproc.c b/g10/mainproc.c index 896120e86..f9be17600 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -245,7 +245,8 @@ symkey_decrypt_sesskey( DEK *dek, byte *sesskey, size_t slen ) int n; if ( slen < 17 || slen > 33 ) { - log_error ( _("weird size for an encrypted session key (%d)\n"), slen); + log_error ( _("weird size for an encrypted session key (%d)\n"), + (int)slen); return; } hd = cipher_open( dek->algo, CIPHER_MODE_CFB, 1 );