From 109ba164cdfa54c13c6ec9b00e9c61791a79956c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 19 Dec 2008 19:51:00 +0000 Subject: [PATCH] make compile git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24220 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/init_creds_pw.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/krb5/init_creds_pw.c b/lib/krb5/init_creds_pw.c index d4a173e08..4b4ea1a9c 100644 --- a/lib/krb5/init_creds_pw.c +++ b/lib/krb5/init_creds_pw.c @@ -210,13 +210,19 @@ report_expiration (krb5_context context, free (p); } -/* - * Parse the last_req data and show it to the user if it's interesting +/** + * Check the context, and in the case there is a expiration warning, + * use the prompter to print the warning. + * + * @param context A Kerberos 5 context. + * @param ctx The krb5_init_creds_context check for expiration. + * + * @ingroup krb5_credential */ -static void -krb5_init_creds_prompt_expire (Krb5_context context, - krb5_init_creds_context ctx) +void KRB5_LIB_FUNCTION +krb5_init_creds_prompt_expire(krb5_context context, + krb5_init_creds_context ctx) { krb5_const_realm realm; LastReq *lr;