[patch] --list-packets fails with symmetric-encoded files

Remi Guyomarch rguyom at mail.dotcom.fr
Sun Feb 28 08:40:54 CET 1999


Here's the patch :

Index: g10/mainproc.c
===================================================================
RCS file: /home/koch/cvs/gnupg/g10/mainproc.c,v
retrieving revision 1.73
diff -u -r1.73 mainproc.c
--- mainproc.c	1999/02/26 16:59:46	1.73
+++ mainproc.c	1999/02/28 06:53:21
@@ -740,6 +742,7 @@
 	if( opt.list_packets ) {
 	    switch( pkt->pkttype ) {
 	      case PKT_PUBKEY_ENC:  proc_pubkey_enc( c, pkt ); break;
+	      case PKT_SYMKEY_ENC:  proc_symkey_enc( c, pkt ); break;
 	      case PKT_ENCRYPTED:   proc_encrypted( c, pkt ); break;
 	      case PKT_COMPRESSED:  proc_compressed( c, pkt ); break;
 	      default: newpkt = 0; break;

-- 
Rémi        <rguyom at mail.dotcom.fr> | Don't waste your computer's time :
    PGP-encrypt anything important: | http://www.distributed.net/
   www.gnupg.org - KeyID:0x85BD8B1B | http://www.distributed.net/cores/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 241 bytes
Desc: not available
Url : /pipermail/attachments/19990228/c09ad343/attachment.bin


More information about the Gnupg-devel mailing list