rename krb5_[gs]et_time_wrap to krb5_[gs]et_max_time_skew

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18953 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-11-08 02:56:28 +00:00
parent 69eaa1a026
commit adeeb5222e
2 changed files with 4 additions and 4 deletions

View File

@@ -314,11 +314,11 @@ main(int argc, char **argv)
gssapi_err(maj_stat, min_stat, mechoid));
skew = abs(time - now);
if (skew > krb5_get_time_wrap(_gsskrb5_context)) {
if (skew > krb5_get_max_time_skew(_gsskrb5_context)) {
errx(1, "gsskrb5_extract_authtime_from_sec_context failed: "
"time skew too great %llu > %llu",
(unsigned long long)skew,
(unsigned long long)krb5_get_time_wrap(_gsskrb5_context));
(unsigned long long)krb5_get_max_time_skew(_gsskrb5_context));
}
maj_stat = gsskrb5_extract_service_keyblock(&min_stat,

View File

@@ -707,13 +707,13 @@ krb5_get_kdc_sec_offset (krb5_context context, int32_t *sec, int32_t *usec)
}
time_t KRB5_LIB_FUNCTION
krb5_get_time_wrap (krb5_context context)
krb5_get_max_time_skew (krb5_context context)
{
return context->max_skew;
}
void KRB5_LIB_FUNCTION
krb5_set_time_wrap (krb5_context context, time_t t)
krb5_set_max_time_skew (krb5_context context, time_t t)
{
context->max_skew = t;
}