From 907b0b3d59889cc7df155586101c1daeeececec4 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 15 Dec 2009 17:40:27 +0000 Subject: [PATCH] On Luke's advice, remove krb5_init_creds_store_creds. It is not a Heimdal API and its functionality is covered by krb5_get_init_creds_opt_set_out_ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23469 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/krb5.hin | 4 ---- src/lib/krb5/krb/get_in_tkt.c | 11 ----------- src/lib/krb5/libkrb5.exports | 1 - 3 files changed, 16 deletions(-) diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index 9e5c3853f..7f7b56dd8 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -2362,10 +2362,6 @@ krb5_error_code KRB5_CALLCONV krb5_init_creds_set_service(krb5_context context, krb5_init_creds_context ctx, const char *service); -krb5_error_code KRB5_CALLCONV -krb5_init_creds_store_creds(krb5_context context, krb5_init_creds_context ctx, - krb5_ccache ccache); - krb5_error_code KRB5_CALLCONV krb5_init_creds_get_times(krb5_context context, krb5_init_creds_context ctx, krb5_ticket_times *times); diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index b13c9a94c..15c67b85e 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -1180,17 +1180,6 @@ krb5_init_creds_get_creds(krb5_context context, return krb5int_copy_creds_contents(context, &ctx->cred, creds); } -krb5_error_code KRB5_CALLCONV -krb5_init_creds_store_creds(krb5_context context, - krb5_init_creds_context ctx, - krb5_ccache ccache) -{ - if ((ctx->flags & KRB5_INIT_CREDS_STEP_FLAG_COMPLETE) == 0) - return KRB5_NO_TKT_SUPPLIED; - - return krb5_cc_store_cred(context, ccache, &ctx->cred); -} - krb5_error_code KRB5_CALLCONV krb5_init_creds_get_times(krb5_context context, krb5_init_creds_context ctx, diff --git a/src/lib/krb5/libkrb5.exports b/src/lib/krb5/libkrb5.exports index 15a887b2f..a1dfd940d 100644 --- a/src/lib/krb5/libkrb5.exports +++ b/src/lib/krb5/libkrb5.exports @@ -373,7 +373,6 @@ krb5_init_creds_set_keytab krb5_init_creds_set_password krb5_init_creds_set_service krb5_init_creds_step -krb5_init_creds_store_creds krb5_init_keyblock krb5_init_secure_context krb5_internalize_opaque -- 2.26.2