Added a flag to register local credential sets exclusively, disabling all others

This commit is contained in:
Martin Willi
2012-03-20 17:31:28 +01:00
parent 5d1677f52d
commit 747f837cce
5 changed files with 79 additions and 23 deletions
@@ -103,7 +103,7 @@ static bool verify_ocsp(ocsp_response_t *response, auth_cfg_t *auth)
bool verified = FALSE;
wrapper = ocsp_response_wrapper_create((ocsp_response_t*)response);
lib->credmgr->add_local_set(lib->credmgr, &wrapper->set);
lib->credmgr->add_local_set(lib->credmgr, &wrapper->set, FALSE);
subject = &response->certificate;
responder = subject->get_issuer(subject);