(_kdc_pk_check_client): make it not crash when there are no acl

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17831 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-07-13 18:37:58 +00:00
parent fea203a708
commit 615106f750

View File

@@ -1226,7 +1226,7 @@ _kdc_pk_check_client(krb5_context context,
}
ret = hdb_entry_get_pkinit_acl(&client->entry, &acl);
if (ret == 0) {
if (ret == 0 && acl != NULL) {
/*
* Cheat here and compare the generated name with the string
* and not the reverse.