(_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:
@@ -1226,7 +1226,7 @@ _kdc_pk_check_client(krb5_context context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = hdb_entry_get_pkinit_acl(&client->entry, &acl);
|
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
|
* Cheat here and compare the generated name with the string
|
||||||
* and not the reverse.
|
* and not the reverse.
|
||||||
|
Reference in New Issue
Block a user