Home GnuPG
Diffusion GnuPG 067bc2ed4c84

gpg: Move the check by is_secured_file earlier.

Description

gpg: Move the check by is_secured_file earlier.

* g10/decrypt.c (decrypt_message_fd): Call is_secured_file here.
* g10/plaintext.c (get_output_file): Remove the call.

Details

Provenance
gniibeAuthored on Jul 11 2023, 6:49 AM
Parents
rG16d135c39648: common: Change iobuf_fdopen argument type to gnupg_fd_t.
Branches
Unknown
Tags
Unknown
Tasks
T6580: Use gnupg_fd_t if it's relevant