third_party/heimdal: Import lorikeet-heimdal-202308030152 (commit 2a036a6fd8083379931...
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 3 Aug 2023 01:57:20 +0000 (13:57 +1200)
committerJule Anger <janger@samba.org>
Fri, 4 Aug 2023 09:31:54 +0000 (09:31 +0000)
This import fixes the build on 32-bit FreeBSD.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15443

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Joseph Sutton <jsutton@samba.org>
Autobuild-Date(master): Thu Aug  3 05:40:28 UTC 2023 on atb-devel-224

(cherry picked from commit 06d673a1a0c54e78773cc951124486b547ca880d)

Autobuild-User(v4-19-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-19-test): Fri Aug  4 09:31:54 UTC 2023 on atb-devel-224

third_party/heimdal/kdc/pkinit.c

index 080ead541b4eacb8c73d1f11088c8cab3ee3f1ce..495dfa7a7e5911571e0b195b478722fd0a746aa5 100644 (file)
@@ -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;