aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-04 18:54:31 +0000
committerWerner Koch <[email protected]>1998-02-04 18:54:31 +0000
commit9886ad8098ea1a128e07be54eaf8f24d73795aa2 (patch)
tree22e597c9f6384b0399abd049c0fd1c64d3d623eb /g10/parse-packet.c
parentFixed a few bugs (diff)
downloadgnupg-9886ad8098ea1a128e07be54eaf8f24d73795aa2.tar.gz
gnupg-9886ad8098ea1a128e07be54eaf8f24d73795aa2.zip
armor rewritten, but still buggy
Diffstat (limited to '')
-rw-r--r--g10/parse-packet.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/parse-packet.c b/g10/parse-packet.c
index 886bc66e3..f364d3b7b 100644
--- a/g10/parse-packet.c
+++ b/g10/parse-packet.c
@@ -829,6 +829,8 @@ parse_plaintext( IOBUF inp, int pkttype, unsigned long pktlen, PACKET *pkt )
pktlen = 0;
if( list_mode ) {
+ /* a value if 'c' is used by armor to indicate a faked packet
+ * it should be considered as 't' */
printf(":literal data packet:\n"
"\tmode %c, created %lu, name=\"",
mode >= ' ' && mode <'z'? mode : '?',