credential-manager: Make online revocation checks optional for public key enumerator
This commit is contained in:
@@ -173,7 +173,7 @@ METHOD(authenticator_t, process, status_t,
|
||||
sig = sig_payload->get_hash(sig_payload);
|
||||
auth = this->ike_sa->get_auth_cfg(this->ike_sa, FALSE);
|
||||
enumerator = lib->credmgr->create_public_enumerator(lib->credmgr, this->type,
|
||||
id, auth);
|
||||
id, auth, TRUE);
|
||||
while (enumerator->enumerate(enumerator, &public, ¤t_auth))
|
||||
{
|
||||
if (public->verify(public, scheme, hash, sig))
|
||||
|
||||
@@ -409,7 +409,7 @@ METHOD(authenticator_t, process, status_t,
|
||||
}
|
||||
auth = this->ike_sa->get_auth_cfg(this->ike_sa, FALSE);
|
||||
enumerator = lib->credmgr->create_public_enumerator(lib->credmgr,
|
||||
key_type, id, auth);
|
||||
key_type, id, auth, TRUE);
|
||||
while (enumerator->enumerate(enumerator, &public, ¤t_auth))
|
||||
{
|
||||
if (public->verify(public, scheme, octets, auth_data))
|
||||
|
||||
Reference in New Issue
Block a user