mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent,common,gpg: Use unsigned int for 1-bit field.
* agent/trustlist.c (struct trustitem_s): Use unsigned int. * common/audit.c (struct log_item_s): Likewise. * g10/packet.h (struct seckey_info): Likewise. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
a8618fdccd
commit
459bd577fc
3 changed files with 11 additions and 11 deletions
|
@ -342,11 +342,11 @@ struct revoke_info
|
|||
/* Information pertaining to secret keys. */
|
||||
struct seckey_info
|
||||
{
|
||||
int is_protected:1; /* The secret info is protected and must */
|
||||
unsigned int is_protected:1; /* The secret info is protected and must */
|
||||
/* be decrypted before use, the protected */
|
||||
/* MPIs are simply (void*) pointers to memory */
|
||||
/* and should never be passed to a mpi_xxx() */
|
||||
int sha1chk:1; /* SHA1 is used instead of a 16 bit checksum */
|
||||
unsigned int sha1chk:1; /* SHA1 is used instead of a 16 bit checksum */
|
||||
u16 csum; /* Checksum for old protection modes. */
|
||||
byte algo; /* Cipher used to protect the secret information. */
|
||||
STRING2KEY s2k; /* S2K parameter. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue