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:
parent
c9c435d91f
commit
0ad18f3cc4
15 changed files with 270 additions and 117 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue