diff options
Diffstat (limited to 'src/lib/libcrypto/ocsp/ocsp.h')
-rw-r--r-- | src/lib/libcrypto/ocsp/ocsp.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ocsp/ocsp.h b/src/lib/libcrypto/ocsp/ocsp.h index 316fb8ed93..554d164601 100644 --- a/src/lib/libcrypto/ocsp/ocsp.h +++ b/src/lib/libcrypto/ocsp/ocsp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ocsp.h,v 1.16 2018/08/24 20:03:21 tb Exp $ */ | 1 | /* $OpenBSD: ocsp.h,v 1.17 2021/10/24 13:50:14 tb Exp $ */ |
2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL | 2 | /* Written by Tom Titchener <Tom_Titchener@groove.net> for the OpenSSL |
3 | * project. */ | 3 | * project. */ |
4 | 4 | ||
@@ -414,8 +414,23 @@ int OCSP_request_sign(OCSP_REQUEST *req, X509 *signer, EVP_PKEY *key, | |||
414 | int OCSP_response_status(OCSP_RESPONSE *resp); | 414 | int OCSP_response_status(OCSP_RESPONSE *resp); |
415 | OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp); | 415 | OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp); |
416 | 416 | ||
417 | #if defined(LIBRESSL_NEW_API) | ||
418 | const ASN1_OCTET_STRING *OCSP_resp_get0_signature(const OCSP_BASICRESP *bs); | ||
419 | const X509_ALGOR *OCSP_resp_get0_tbs_sigalg(const OCSP_BASICRESP *bs); | ||
420 | const OCSP_RESPDATA *OCSP_resp_get0_respdata(const OCSP_BASICRESP *bs); | ||
421 | int OCSP_resp_get0_signer(OCSP_BASICRESP *bs, X509 **signer, | ||
422 | STACK_OF(X509) *extra_certs); | ||
423 | #endif | ||
424 | |||
417 | int OCSP_resp_count(OCSP_BASICRESP *bs); | 425 | int OCSP_resp_count(OCSP_BASICRESP *bs); |
418 | OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx); | 426 | OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx); |
427 | #if defined(LIBRESSL_NEW_API) | ||
428 | const ASN1_GENERALIZEDTIME *OCSP_resp_get0_produced_at(const OCSP_BASICRESP *bs); | ||
429 | const STACK_OF(X509) *OCSP_resp_get0_certs(const OCSP_BASICRESP *bs); | ||
430 | int OCSP_resp_get0_id(const OCSP_BASICRESP *bs, | ||
431 | const ASN1_OCTET_STRING **pid, const X509_NAME **pname); | ||
432 | #endif | ||
433 | |||
419 | int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last); | 434 | int OCSP_resp_find(OCSP_BASICRESP *bs, OCSP_CERTID *id, int last); |
420 | int OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason, | 435 | int OCSP_single_get0_status(OCSP_SINGLERESP *single, int *reason, |
421 | ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, | 436 | ASN1_GENERALIZEDTIME **revtime, ASN1_GENERALIZEDTIME **thisupd, |