Changeset 342
- Timestamp:
- 01/30/06 13:36:42
- Files:
-
- openpgpsdk/trunk/examples/packet-dump.c (modified) (1 diff)
- openpgpsdk/trunk/src/packet-parse.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/examples/packet-dump.c
r339 r342 834 834 print_hexdump("IV",content->secret_key.iv, 835 835 ops_block_size(content->secret_key.algorithm)); 836 837 /* no more set if encrypted */ 838 if(content_->tag == OPS_PTAG_CT_ENCRYPTED_SECRET_KEY) 839 break; 840 836 841 printf("Checksum: %04x\n",content->secret_key.checksum); 837 842 openpgpsdk/trunk/src/packet-parse.c
r341 r342 1854 1854 return 0; 1855 1855 1856 /* Let callbacks see what they're about to be passphrased for */ 1857 CBP(parse_info,OPS_PTAG_CT_ENCRYPTED_SECRET_KEY,&content); 1858 1856 1859 passphrase=NULL; 1857 1860 pc.content.passphrase=&passphrase; … … 1861 1864 if(!consume_packet(region,parse_info,ops_false)) 1862 1865 return 0; 1863 CBP(parse_info,OPS_PTAG_CT_ENCRYPTED_SECRET_KEY,&content);1864 1866 return 1; 1865 1867 }
