diff options
author | David Shaw <[email protected]> | 2004-03-03 00:09:16 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-03-03 00:09:16 +0000 |
commit | c57262fd5743b96f54e930f9dec57efbe0c53b69 (patch) | |
tree | c458407f7cad928e3bc53d045d4403dc7fdddc64 /g10/packet.h | |
parent | * parse-packet.c (parse): Only data-type packets are allowed to use (diff) | |
download | gnupg-c57262fd5743b96f54e930f9dec57efbe0c53b69.tar.gz gnupg-c57262fd5743b96f54e930f9dec57efbe0c53b69.zip |
* packet.h, free-packet.c (free_encrypted, free_plaintext), parse-packet.c
(copy_packet, skip_packet, skip_rest, read_rest, parse_plaintext,
parse_encrypted, parse_gpg_control): Use a flag to indicate partial or
indeterminate encoding. This is the first step in some minor surgery to
remove the old gpg partial length encoding.
Diffstat (limited to '')
-rw-r--r-- | g10/packet.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/packet.h b/g10/packet.h index 57e5c49da..c6e8c0403 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -279,6 +279,7 @@ typedef struct { u32 len; /* length of encrypted data */ int extralen; /* this is (blocksize+2) */ byte new_ctb; /* uses a new CTB */ + byte is_partial; /* partial length encoded */ byte mdc_method; /* > 0: integrity protected encrypted data packet */ IOBUF buf; /* IOBUF reference */ } PKT_encrypted; |