use krb5_get_time_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18952 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -314,7 +314,7 @@ main(int argc, char **argv)
|
||||
gssapi_err(maj_stat, min_stat, mechoid));
|
||||
|
||||
skew = abs(time - now);
|
||||
if (skew > _gsskrb5_context->max_skew) {
|
||||
if (skew > krb5_get_time_wrap(_gsskrb5_context)) {
|
||||
errx(1, "gsskrb5_extract_authtime_from_sec_context failed: "
|
||||
"time skew too great %llu > %llu",
|
||||
(unsigned long long)skew,
|
||||
|
Reference in New Issue
Block a user