credential-manager: Make online revocation checks optional for public key enumerator

This commit is contained in:
Tobias Brunner
2016-03-10 11:07:14 +01:00
parent 819da83fcc
commit 5452e3d66e
6 changed files with 14 additions and 7 deletions
+2 -1
View File
@@ -320,7 +320,8 @@ static public_key_t *find_public_key(private_tls_peer_t *this)
if (cert)
{
enumerator = lib->credmgr->create_public_enumerator(lib->credmgr,
KEY_ANY, cert->get_subject(cert), this->server_auth);
KEY_ANY, cert->get_subject(cert),
this->server_auth, TRUE);
while (enumerator->enumerate(enumerator, &current, &auth))
{
found = auth->get(auth, AUTH_RULE_SUBJECT_CERT);