From 20c36721747d8dd383115b1843f14f677177d97d Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sat, 1 Sep 2018 00:05:55 -0400 Subject: add getter for tbsResponseData and signatureAlgorithm on OCSP_BASICRESP fixes #7081 Reviewed-by: Paul Dale Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/7082) --- include/openssl/ocsp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h index 9c2698a4e3..937b32271b 100644 --- a/include/openssl/ocsp.h +++ b/include/openssl/ocsp.h @@ -197,6 +197,8 @@ int OCSP_response_status(OCSP_RESPONSE *resp); OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp); const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs); +const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs); +const OCSP_RESPDATA *OCSP_resp_get0_respdata(const OCSP_BASICRESP *bs); int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer, STACK_OF(X509) *extra_certs); -- cgit v1.2.3