From 36f0dbedba87a56d6bc07326aa4c62ff0f3f2761 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 3 Aug 2023 13:57:20 +1200 Subject: [PATCH] third_party/heimdal: Import lorikeet-heimdal-202308030152 (commit 2a036a6fd80833799316b8a85623cdea3a1135df) This import fixes the build on 32-bit FreeBSD. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15443 Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett Autobuild-User(master): Joseph Sutton Autobuild-Date(master): Thu Aug 3 05:40:28 UTC 2023 on atb-devel-224 (cherry picked from commit 06d673a1a0c54e78773cc951124486b547ca880d) --- third_party/heimdal/kdc/pkinit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third_party/heimdal/kdc/pkinit.c b/third_party/heimdal/kdc/pkinit.c index 080ead541b4..495dfa7a7e5 100644 --- a/third_party/heimdal/kdc/pkinit.c +++ b/third_party/heimdal/kdc/pkinit.c @@ -1978,10 +1978,10 @@ _kdc_pk_validate_freshness_token(astgs_request_t r, token_time, sizeof(token_time), TRUE); kdc_log(r->context, r->config, 4, "Freshness token has too large time skew: " - "time in token %s is out by %ld > %ld seconds — %s", + "time in token %s is out by %ld > %jd seconds — %s", token_time, time_diff, - r->context->max_skew, + (intmax_t)(r->context->max_skew), r->cname); r->e_text = NULL; -- 2.39.1