use `max_skew'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2304 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-14 14:39:52 +00:00
parent 6a7c526452
commit 0fe09b54ab
3 changed files with 3 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ as_rep(krb5_context context,
}
patime = p.patimestamp;
free_PA_ENC_TS_ENC(&p);
if (abs(kdc_time - p.patimestamp) > 300) {
if (abs(kdc_time - p.patimestamp) > context->max_skew) {
krb5_mk_error (client_princ,
KRB5KDC_ERR_PREAUTH_FAILED,
"Too large time skew",