library: Add manager for OCSP responders
Registered OCSP responders should return VALIDATION_SKIPPED for issuer certificates they are not responsible for. However, VALIDATION_FAILED is currently treated the same way, so that's fine as well.
This commit is contained in:
@@ -171,6 +171,7 @@ void library_deinit()
|
||||
this->public.credmgr->destroy(this->public.credmgr);
|
||||
this->public.creds->destroy(this->public.creds);
|
||||
this->public.encoding->destroy(this->public.encoding);
|
||||
this->public.ocsp->destroy(this->public.ocsp);
|
||||
this->public.metadata->destroy(this->public.metadata);
|
||||
this->public.crypto->destroy(this->public.crypto);
|
||||
this->public.caps->destroy(this->public.caps);
|
||||
@@ -401,6 +402,7 @@ bool library_init(char *settings, const char *namespace)
|
||||
this->public.creds = credential_factory_create();
|
||||
this->public.credmgr = credential_manager_create();
|
||||
this->public.encoding = cred_encoding_create();
|
||||
this->public.ocsp = ocsp_responders_create();
|
||||
this->public.metadata = metadata_factory_create();
|
||||
this->public.fetcher = fetcher_manager_create();
|
||||
this->public.resolver = resolver_manager_create();
|
||||
|
||||
Reference in New Issue
Block a user