t_cc test case to pass and allows non-tickets to be stored (for now).
ticket: 5697
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19910
dc483132-0cff-0310-8789-
dd5450dbe970
*/
s1 = creds->server;
ret = decode_krb5_ticket(&creds->ticket, &tkt);
- if (ret) return ret;
+ /* Bail out on errors in case someone is storing a non-ticket. */
+ if (ret) return 0;
s2 = tkt->server;
if (!krb5_principal_compare(context, s1, s2)) {
creds->server = s2;