mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
a43d0f7d46
* sm/gpgsm.c (main): Use es_fopen for DATA_FP to call gpgsm_verify. * sm/gpgsm.h (gpgsm_verify): Use estream_t for DATA_FP. * sm/server.c (struct server_local_s): Rename MESSAGE_FD to MESSAGE_FP. (close_message_fp): Rename from close_message_fd. (reset_notify): Follow the change of close_message_fp. (cmd_encrypt, cmd_decrypt, cmd_verify, cmd_sign): Likewise. (cmd_export, cmd_delkeys, gpgsm_server): Likewise. (cmd_message): Setup MESSAGE_FP with open_stream_nc. (cmd_verify): Use MESSAGE_FP. * sm/verify.c (hash_data): Use estream_t for FP. (gpgsm_verify): Use estream_t for DATA_FP. -- GnuPG-bug-id: 6592 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>