Update _hx509_collector_alloc prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20774 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -766,11 +766,9 @@ p11_list_keys(hx509_context context,
|
||||
if (lock == NULL)
|
||||
lock = _hx509_empty_lock;
|
||||
|
||||
collector = _hx509_collector_alloc(context, lock);
|
||||
if (collector == NULL) {
|
||||
hx509_set_error_string(context, 0, ENOMEM, "out of memory");
|
||||
return ENOMEM;
|
||||
}
|
||||
ret = _hx509_collector_alloc(context, lock, &collector);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
key_class = CKO_PRIVATE_KEY;
|
||||
ret = iterate_entries(context, p, slot, session,
|
||||
|
Reference in New Issue
Block a user