From 69d083ca106bfeb4a5aae74cc563248658ab382a Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Tue, 5 Jan 2010 21:20:15 +0000 Subject: [PATCH] Rename krb5_validate_times into krb5int_validate_times as it is internal function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23591 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 2 +- src/lib/krb5/krb/mk_req_ext.c | 2 +- src/lib/krb5/krb/rd_req_dec.c | 2 +- src/lib/krb5/krb/valid_times.c | 4 ++-- src/lib/krb5/libkrb5.exports | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 43b780ed0..a9cb3d4b9 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1792,7 +1792,7 @@ decode_krb5_sam_response_2(const krb5_data *, krb5_sam_response_2 **); *************************************************************************/ krb5_error_code -krb5_validate_times(krb5_context, krb5_ticket_times *); +krb5int_validate_times(krb5_context, krb5_ticket_times *); /* krb5_error_code decode_krb5_structure(const krb5_data *code, diff --git a/src/lib/krb5/krb/mk_req_ext.c b/src/lib/krb5/krb/mk_req_ext.c index 4eba01638..f68908e6f 100644 --- a/src/lib/krb5/krb/mk_req_ext.c +++ b/src/lib/krb5/krb/mk_req_ext.c @@ -111,7 +111,7 @@ krb5_mk_req_extended(krb5_context context, krb5_auth_context *auth_context, return(retval); /* verify that the ticket is not expired */ - if ((retval = krb5_validate_times(context, &in_creds->times)) != 0) + if ((retval = krb5int_validate_times(context, &in_creds->times)) != 0) goto cleanup; /* generate auth_context if needed */ diff --git a/src/lib/krb5/krb/rd_req_dec.c b/src/lib/krb5/krb/rd_req_dec.c index 49f07f7ed..76ecd1583 100644 --- a/src/lib/krb5/krb/rd_req_dec.c +++ b/src/lib/krb5/krb/rd_req_dec.c @@ -371,7 +371,7 @@ rd_req_decoded_opt(krb5_context context, krb5_auth_context *auth_context, goto cleanup; } - retval = krb5_validate_times(context, &req->ticket->enc_part2->times); + retval = krb5int_validate_times(context, &req->ticket->enc_part2->times); if (retval != 0) goto cleanup; diff --git a/src/lib/krb5/krb/valid_times.c b/src/lib/krb5/krb/valid_times.c index 72304efd7..f463e454b 100644 --- a/src/lib/krb5/krb/valid_times.c +++ b/src/lib/krb5/krb/valid_times.c @@ -25,7 +25,7 @@ * or implied warranty. * * - * krb5_validate_times() + * krb5int_validate_times() */ #include "k5-int.h" @@ -36,7 +36,7 @@ */ krb5_error_code -krb5_validate_times(krb5_context context, krb5_ticket_times *times) +krb5int_validate_times(krb5_context context, krb5_ticket_times *times) { krb5_timestamp currenttime, starttime; krb5_error_code retval; diff --git a/src/lib/krb5/libkrb5.exports b/src/lib/krb5/libkrb5.exports index 1335190dc..b14fa0ef4 100644 --- a/src/lib/krb5/libkrb5.exports +++ b/src/lib/krb5/libkrb5.exports @@ -561,7 +561,7 @@ krb5_unparse_name_flags krb5_unparse_name_flags_ext krb5_us_timeofday krb5_use_natural_time -krb5_validate_times +krb5int_validate_times krb5_verify_authdata_kdc_issued krb5_verify_init_creds krb5_verify_init_creds_opt_init -- 2.26.2