diff options
author | NIIBE Yutaka <[email protected]> | 2022-02-25 02:55:07 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-02-25 02:55:07 +0000 |
commit | 335805e1d48258dc96d360f72aa92db32f3d82d3 (patch) | |
tree | 343156f1cf2448b650f0c3b03f812dd8021c198e | |
parent | Fix the previous commit. (diff) | |
download | gnupg-335805e1d48258dc96d360f72aa92db32f3d82d3.tar.gz gnupg-335805e1d48258dc96d360f72aa92db32f3d82d3.zip |
gpg: Clarify a call of ask_for_detached_datafile.
* g10/mainproc.c (proc_tree): Call ask_for_detached_datafile
with MD2=NULL.
--
Here, c->mfx.md2 is always NULL, in fact. But, text-wise
(when searching the use of "mfx.md2"), before the change, it used
mfx.md2, which is irrelevant in the handling of PKT_ONEPASS_SIG.
Note that: One-Pass Signature is not available in PGP2.
This fix removes (text-wise) unmatch of the calls of functions
hash_datafile_by_fd hash_datafiles, and ask_for_detached_datafile.
Fixes-commit: 88a916cdd40e43312ffcde6bb1c157fe1c122f74
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index aa028e91b..f44e68453 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -2544,7 +2544,7 @@ proc_tree (CTX c, kbnode_t node) } else { - rc = ask_for_detached_datafile (c->mfx.md, c->mfx.md2, + rc = ask_for_detached_datafile (c->mfx.md, NULL, iobuf_get_real_fname (c->iobuf), use_textmode); } |