aboutsummaryrefslogtreecommitdiffstats
path: root/gpg-interface.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:28 -0700
committerJunio C Hamano <gitster@pobox.com>2024-04-16 14:50:29 -0700
commit107313eb11931a66ec4cd3f83bd6c260f296ad19 (patch)
treeefa63d47735cf17e1cc93e60c0f5985caad0b89d /gpg-interface.c
parent2d642afb0a469c0c344f23bc715ea70b6a2dcade (diff)
parent9720d23e8caf4adee44b3a32803a9bb0480118bd (diff)
downloadgit-107313eb11931a66ec4cd3f83bd6c260f296ad19.tar.gz
Merge branch 'rs/date-mode-pass-by-value'
The codepaths that reach date_mode_from_type() have been updated to pass "struct date_mode" by value to make them thread safe. * rs/date-mode-pass-by-value: date: make DATE_MODE thread-safe
Diffstat (limited to 'gpg-interface.c')
-rw-r--r--gpg-interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpg-interface.c b/gpg-interface.c
index b5993385ff..1ff94266d2 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -483,7 +483,7 @@ static int verify_ssh_signed_buffer(struct signature_check *sigc,
if (sigc->payload_timestamp)
strbuf_addf(&verify_time, "-Overify-time=%s",
- show_date(sigc->payload_timestamp, 0, &verify_date_mode));
+ show_date(sigc->payload_timestamp, 0, verify_date_mode));
/* Find the principal from the signers */
strvec_pushl(&ssh_keygen.args, fmt->program,