aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt-data.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-03-24 10:51:44 +0000
committerWerner Koch <[email protected]>2017-03-24 10:51:44 +0000
commit0b3770c421a35b64823a805fa8d49ddd5c653d50 (patch)
tree8ee4bb26b2c725b7bf20bb9ec4e926258ace6e0a /g10/decrypt-data.c
parentagent: New option --enable-extended-key-format. (diff)
downloadgnupg-0b3770c421a35b64823a805fa8d49ddd5c653d50.tar.gz
gnupg-0b3770c421a35b64823a805fa8d49ddd5c653d50.zip
gpg: Improve check for already compressed packets.
* common/miscellaneous.c (is_openpgp_compressed_packet): New. (is_file_compressed): Rerad 2 more bytes and call new function. -- Note that this does not yet allow to detect compressed data piped to gpg. This requires a proper read-ahead in iobuf.c which is complicated due to the auto-removal of filter functions. Thus such an read-ahead needs to be done in the I/O backend of iobuf. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
0 files changed, 0 insertions, 0 deletions