summaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-09-11 07:47:32 +0200
committerWerner Koch <wk@gnupg.org>1998-09-11 07:47:32 +0200
commit48da5f940b537b09b1fd6a5023922bd792d5954c (patch)
treed0b99173fc76c70960ace7d372d4adeff969652b /g10/parse-packet.c
parentChnages. (diff)
downloadgnupg2-48da5f940b537b09b1fd6a5023922bd792d5954c.tar.xz
gnupg2-48da5f940b537b09b1fd6a5023922bd792d5954c.zip
*** empty log message ***
Diffstat (limited to 'g10/parse-packet.c')
-rw-r--r--g10/parse-packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index bc7aca510..2601e1571 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -578,6 +578,7 @@ parse_pubkeyenc( IOBUF inp, int pkttype, unsigned long pktlen, PACKET *packet )
k->keyid[0] = read_32(inp); pktlen -= 4;
k->keyid[1] = read_32(inp); pktlen -= 4;
k->pubkey_algo = iobuf_get_noeof(inp); pktlen--;
+ k->throw_keyid = 0; /* only used as flag for build_packet */
if( list_mode )
printf(":pubkey enc packet: version %d, algo %d, keyid %08lX%08lX\n",
k->version, k->pubkey_algo, (ulong)k->keyid[0], (ulong)k->keyid[1]);