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:
parent
60fd09df9f
commit
67356cdd63
@ -1,5 +1,7 @@
|
||||
2002-10-07 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* 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).
|
||||
|
@ -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 );
|
||||
|
Loading…
x
Reference in New Issue
Block a user