aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Howard <lukeh@padl.com>2009-11-17 12:56:36 +0000
committerLuke Howard <lukeh@padl.com>2009-11-17 12:56:36 +0000
commit379b46c2e380017b23b19151e2c6fe562a862bc4 (patch)
tree092b02402539ec4adffa4a86061a5a68b650b6af
parent8d89ca31f9bc8defbc99344394ef73c391c1979b (diff)
downloadkrb5-379b46c2e380017b23b19151e2c6fe562a862bc4.zip
krb5-379b46c2e380017b23b19151e2c6fe562a862bc4.tar.gz
krb5-379b46c2e380017b23b19151e2c6fe562a862bc4.tar.bz2
cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/iakerb-refonly@23270 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/krb5/krb/gc_frm_kdc_step.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/gc_frm_kdc_step.c b/src/lib/krb5/krb/gc_frm_kdc_step.c
index feedb2f..b3243b6 100644
--- a/src/lib/krb5/krb/gc_frm_kdc_step.c
+++ b/src/lib/krb5/krb/gc_frm_kdc_step.c
@@ -25,7 +25,7 @@
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*
- * krb5_get_cred_from_kdc() and related functions:
+ * krb5_tkt_creds_step() and related functions:
*
* Get credentials from some KDC somewhere, possibly accumulating TGTs
* along the way.
@@ -251,6 +251,9 @@ krb5_tkt_creds_store_creds(krb5_context context,
{
krb5_creds **tgt;
+ if ((ctx->flags & KRB5_TKT_CREDS_STEP_FLAG_COMPLETE) == 0)
+ return EINVAL;
+
if (ccache == NULL)
ccache = ctx->ccache;