fixed type incompatibility

This commit is contained in:
Stefan Bellon 2002-11-13 21:49:57 +00:00
parent fbffa8209b
commit 0907db4855
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-13 Stefan Bellon <sbellon@sbellon.de>
* getkey.c (get_pubkey_byfprint_fast): Fixed type incompatibility,
was unsigned char instead of byte.
2002-11-13 David Shaw <dshaw@jabberwocky.com>
* encode.c (encode_simple): Make sure that files larger than about

View File

@ -919,7 +919,7 @@ get_pubkey_byfprint_fast (PKT_public_key *pk,
int rc = 0;
KEYDB_HANDLE hd;
KBNODE keyblock;
unsigned char fprbuf[MAX_FINGERPRINT_LEN];
byte fprbuf[MAX_FINGERPRINT_LEN];
int i;
for (i=0; i < MAX_FINGERPRINT_LEN && i < fprint_len; i++)