1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00

* mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.

This commit is contained in:
David Shaw 2002-10-07 22:09:20 +00:00
parent 60fd09df9f
commit 67356cdd63
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2002-10-07 David Shaw <dshaw@jabberwocky.com> 2002-10-07 David Shaw <dshaw@jabberwocky.com>
* mainproc.c (symkey_decrypt_sesskey): Fix compiler warning.
* keylist.c (print_capabilities): Properly indicate per-key * keylist.c (print_capabilities): Properly indicate per-key
capabilities of sign&encrypt primary keys that have capabilities of sign&encrypt primary keys that have
secret-parts-missing (i.e. no capabilities at all). secret-parts-missing (i.e. no capabilities at all).

View File

@ -245,7 +245,8 @@ symkey_decrypt_sesskey( DEK *dek, byte *sesskey, size_t slen )
int n; int n;
if ( slen < 17 || slen > 33 ) { 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; return;
} }
hd = cipher_open( dek->algo, CIPHER_MODE_CFB, 1 ); hd = cipher_open( dek->algo, CIPHER_MODE_CFB, 1 );