need dto store the creds
authorJohn Kohl <jtkohl@mit.edu>
Mon, 7 May 1990 16:57:52 +0000 (16:57 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 7 May 1990 16:57:52 +0000 (16:57 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@753 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/get_creds.c

index ddbfbf2a38dcda2ec661a310ed19848866a57ab9..f57f6230d38f14e112fb60543d1030ea85dd08be 100644 (file)
@@ -72,5 +72,8 @@ krb5_creds *creds;
        }
        krb5_free_tgt_creds(tgts);
     }
+    if (!retval)
+       retval = krb5_cc_store_cred(ccache, creds);
     return retval;
+
 }