Make it pass most of the tests.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22822 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-04-07 11:47:07 +00:00
parent 3a9ce623b9
commit 4fa7c09faf

View File

@@ -525,6 +525,9 @@ scc_destroy(krb5_context context,
krb5_scache *s = SCACHE(id); krb5_scache *s = SCACHE(id);
int ret; int ret;
if (s->cid == SCACHE_INVALID_CID)
return 0;
sqlite3_bind_int(s->dcache, 1, s->cid); sqlite3_bind_int(s->dcache, 1, s->cid);
do { do {
ret = sqlite3_step(s->dcache); ret = sqlite3_step(s->dcache);
@@ -1002,7 +1005,7 @@ scc_default_name(krb5_context context, char **str)
/** /**
* Variable containing the SCACHE based credential cache implemention. * Variable containing the SDB based credential cache implemention.
* *
* @ingroup krb5_ccache * @ingroup krb5_ccache
*/ */