OCSP: generic extension parsing.

Raises ocsp_extension event if an extension is present in the reply or
in one of the singlereplies.
This commit is contained in:
Johanna Amann 2017-02-10 13:31:15 -08:00
parent 8b50a1e09b
commit cdcc21ea4b
4 changed files with 78 additions and 1 deletions

View file

@ -32,6 +32,7 @@ protected:
private:
void ParseResponse(OCSP_RESPVal *, const char* fid = 0);
void ParseRequest(OCSP_REQUEST *, const char* fid = 0);
void ParseExtension(X509_EXTENSION*, bool global);
std::string ocsp_data;
bool request = false; // true if ocsp request, false if reply