]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - parsekey.c
Add support for displaying Elgamal encrypt or sign keys (deprecated)
[onak.git] / parsekey.c
index 6e080af36dc66493b0208e9d77c93a705a9e8bfc..a0c0311aec1e98fa1fb0294d92562f7055958a62 100644 (file)
@@ -148,7 +148,7 @@ int parse_keys(struct openpgp_packet_list *packets,
  */
 int debug_packet(struct openpgp_packet *packet)
 {
  */
 int debug_packet(struct openpgp_packet *packet)
 {
-       printf("\tNew format: %d, Tag: %u, Length: %d\n",
+       printf("\tNew format: %d, Tag: %u, Length: %zd\n",
                        packet->newformat,
                        packet->tag,
                        packet->length);
                        packet->newformat,
                        packet->tag,
                        packet->length);