From abc9b1618c68619b16840059846f1d3776dc90a4 Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Wed, 6 Jan 2010 18:39:18 +0000 Subject: [PATCH] Since krb5int_validate_times is used only inside krb dir do not export it and move its prototype into int-proto.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23592 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/k5-int.h | 4 ---- src/lib/krb5/krb/int-proto.h | 3 +++ src/lib/krb5/krb/valid_times.c | 1 + src/lib/krb5/libkrb5.exports | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/include/k5-int.h b/src/include/k5-int.h index a9cb3d4b9..2d1f40549 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1790,10 +1790,6 @@ decode_krb5_sam_response_2(const krb5_data *, krb5_sam_response_2 **); /************************************************************************* * Prototypes for krb5_decode.c *************************************************************************/ - -krb5_error_code -krb5int_validate_times(krb5_context, krb5_ticket_times *); - /* krb5_error_code decode_krb5_structure(const krb5_data *code, krb5_structure **rep); diff --git a/src/lib/krb5/krb/int-proto.h b/src/lib/krb5/krb/int-proto.h index ac30a5222..4a8449d54 100644 --- a/src/lib/krb5/krb/int-proto.h +++ b/src/lib/krb5/krb/int-proto.h @@ -169,4 +169,7 @@ size_t krb5int_count_etypes(const krb5_enctype *list); krb5_error_code krb5int_copy_etypes(const krb5_enctype *old_list, krb5_enctype **new_list); +krb5_error_code +krb5int_validate_times(krb5_context, krb5_ticket_times *); + #endif /* KRB5_INT_FUNC_PROTO__ */ diff --git a/src/lib/krb5/krb/valid_times.c b/src/lib/krb5/krb/valid_times.c index f463e454b..ce99ff4da 100644 --- a/src/lib/krb5/krb/valid_times.c +++ b/src/lib/krb5/krb/valid_times.c @@ -29,6 +29,7 @@ */ #include "k5-int.h" +#include "int-proto.h" /* * This is an internal routine which validates the krb5_timestamps diff --git a/src/lib/krb5/libkrb5.exports b/src/lib/krb5/libkrb5.exports index b14fa0ef4..2bfbeead1 100644 --- a/src/lib/krb5/libkrb5.exports +++ b/src/lib/krb5/libkrb5.exports @@ -561,7 +561,6 @@ krb5_unparse_name_flags krb5_unparse_name_flags_ext krb5_us_timeofday krb5_use_natural_time -krb5int_validate_times krb5_verify_authdata_kdc_issued krb5_verify_init_creds krb5_verify_init_creds_opt_init -- 2.26.2