diff options
author | Joseph Sutton <josephsutton@catalyst.net.nz> | 2022-02-24 15:24:13 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2022-03-01 18:07:50 +0000 |
commit | 9eb27f296ae2b797803fffbb7f4cb34d8eb06f34 (patch) | |
tree | 776e5569408e5b6f9724a3fc03ab5ce955e049b4 /third_party/heimdal_build | |
parent | 9936038fae72fb440864be543e9afd500444d502 (diff) | |
download | samba-9eb27f296ae2b797803fffbb7f4cb34d8eb06f34.tar.gz |
third_party/heimdal_build: Determine whether time_t is signed
Without this, Heimdal will assume time_t is unsigned, and a wrong
assumption will cause 'infinite' ticket lifetimes to be reckoned as from
the past, and thus requests will fail with KDC_ERR_NEVER_VALID.
This is an adaptation to Heimdal:
commit 9ae9902249732237aa1711591604a6adf24963fe
Author: Nicolas Williams <nico@twosigma.com>
Date: Tue Feb 15 17:01:00 2022 -0600
cf: Check if time_t is signed
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Mar 1 18:07:50 UTC 2022 on sn-devel-184
Diffstat (limited to 'third_party/heimdal_build')
-rw-r--r-- | third_party/heimdal_build/wscript_configure | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/heimdal_build/wscript_configure b/third_party/heimdal_build/wscript_configure index 023935d98c0..0021cd328ec 100644 --- a/third_party/heimdal_build/wscript_configure +++ b/third_party/heimdal_build/wscript_configure @@ -206,3 +206,5 @@ if conf.CONFIG_SET('USING_EMBEDDED_HEIMDAL'): conf.define('HAVE_KRB5_ADDLOG_FUNC_NEED_CONTEXT', 1) else: pass # TODO + +conf.CHECK_SIGN('time_t') |