1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Debian updates, minor fixes.

This commit is contained in:
Werner Koch 2000-10-17 12:41:51 +00:00
parent c9c435d91f
commit 0ad18f3cc4
15 changed files with 270 additions and 117 deletions

View file

@ -1072,7 +1072,15 @@ do_proc_packets( CTX c, IOBUF a )
default: newpkt = 0; break;
}
}
if( pkt->pkttype != PKT_SIGNATURE )
/* This is a very ugly construct and frankly, I don't remember why
* I used it. Adding the MDC check here is a hack.
* The right solution is to initiate another context for encrypted
* packet and not to reuse the current one ... It works right
* when there is a compression packet inbetween which adds just
* an extra layer.
* Hmmm: Rewrite this whole module here??
*/
if( pkt->pkttype != PKT_SIGNATURE && pkt->pkttype != PKT_MDC )
c->have_data = pkt->pkttype == PKT_PLAINTEXT;
if( newpkt == -1 )