diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-09-01 00:05:55 -0400 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-09-03 06:07:22 +0200 |
commit | 20c36721747d8dd383115b1843f14f677177d97d (patch) | |
tree | d0705dfb63a63e542f5394422a50edebbc37afe8 /include | |
parent | 6bcfcf16bf6aef4f9ec267d8b86ae1bffd8deab9 (diff) |
add getter for tbsResponseData and signatureAlgorithm on OCSP_BASICRESP
fixes #7081
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/7082)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ocsp.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |