diff options
author | NIIBE Yutaka <[email protected]> | 2023-07-05 01:21:23 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-07-05 01:29:23 +0000 |
commit | 3fb69641e84d420ee331023a53ac2961d17fa8b6 (patch) | |
tree | 6220ce7d4a34e067d247adb95667c6949f1cd172 /g10/packet.h | |
parent | gpg: Use gnupg_fd_t for encrypt_crypt and gpg_verify. (diff) | |
download | gnupg-3fb69641e84d420ee331023a53ac2961d17fa8b6.tar.gz gnupg-3fb69641e84d420ee331023a53ac2961d17fa8b6.zip |
gpg: Use gnupg_fd_t for decryption and sign.
* g10/decrypt.c (decrypt_message_fd): Use gnupg_fd_t.
* g10/plaintext.c (hash_datafile_by_fd): Use gnupg_fd_t.
* g10/main.h: Fix the declarations.
* g10/mainproc.c (struct mainproc_context): Use gnupg_fd_t for
DATA_FD.
(proc_compressed_cb, proc_signature_packets): Follow the change.
(proc_signature_packets_by_fd): Use gnupg_fd_t.
* g10/packet.h: Fix the declaration.
--
GnuPG-bug-id: 6580
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/packet.h')
-rw-r--r-- | g10/packet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/packet.h b/g10/packet.h index 39dab96c9..defd1005e 100644 --- a/g10/packet.h +++ b/g10/packet.h @@ -634,8 +634,8 @@ void reset_literals_seen(void); int proc_packets (ctrl_t ctrl, void *ctx, iobuf_t a ); int proc_signature_packets (ctrl_t ctrl, void *ctx, iobuf_t a, strlist_t signedfiles, const char *sigfile ); -int proc_signature_packets_by_fd (ctrl_t ctrl, - void *anchor, IOBUF a, int signed_data_fd ); +int proc_signature_packets_by_fd (ctrl_t ctrl, void *anchor, IOBUF a, + gnupg_fd_t signed_data_fd); int proc_encryption_packets (ctrl_t ctrl, void *ctx, iobuf_t a); int list_packets( iobuf_t a ); |