summaryrefslogtreecommitdiffstats
path: root/g10/free-packet.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-01-09 16:06:59 +0100
committerWerner Koch <wk@gnupg.org>1999-01-09 16:06:59 +0100
commit002b1a8632d2c2795deb4682ba6db8be120db9b4 (patch)
tree33a0e8c96550f24d9aa1747b05a9f471f975e7a7 /g10/free-packet.c
parentSee ChangeLog: Thu Jan 7 18:00:58 CET 1999 Werner Koch (diff)
downloadgnupg2-002b1a8632d2c2795deb4682ba6db8be120db9b4.tar.xz
gnupg2-002b1a8632d2c2795deb4682ba6db8be120db9b4.zip
See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner Koch
Diffstat (limited to 'g10/free-packet.c')
-rw-r--r--g10/free-packet.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/g10/free-packet.c b/g10/free-packet.c
index 3e3c9d054..e953b0d45 100644
--- a/g10/free-packet.c
+++ b/g10/free-packet.c
@@ -264,7 +264,6 @@ free_encrypted( PKT_encrypted *ed )
if( iobuf_in_block_mode(ed->buf) ) {
while( iobuf_get(ed->buf) != -1 )
;
- iobuf_set_block_mode(ed->buf, 0);
}
else {
for( ; ed->len; ed->len-- ) /* skip the packet */
@@ -282,7 +281,6 @@ free_plaintext( PKT_plaintext *pt )
if( iobuf_in_block_mode(pt->buf) ) {
while( iobuf_get(pt->buf) != -1 )
;
- iobuf_set_block_mode(pt->buf, 0);
}
else {
for( ; pt->len; pt->len-- ) /* skip the packet */