From b7457596e81a31b3e3d603a45d67de1c12647231 Mon Sep 17 00:00:00 2001 From: Sean McGrail Date: Tue, 4 Mar 2025 19:46:00 +0000 Subject: [PATCH] Move OCSP ASN1 type functions to public header --- crypto/ocsp/internal.h | 1 - include/openssl/ocsp.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/ocsp/internal.h b/crypto/ocsp/internal.h index a75c50ba03..3a344d854c 100644 --- a/crypto/ocsp/internal.h +++ b/crypto/ocsp/internal.h @@ -234,7 +234,6 @@ struct ocsp_basic_response_st { STACK_OF(X509) *certs; }; -DECLARE_ASN1_FUNCTIONS(OCSP_ONEREQ) DECLARE_ASN1_FUNCTIONS(OCSP_RESPDATA) DECLARE_ASN1_FUNCTIONS(OCSP_REQINFO) DECLARE_ASN1_FUNCTIONS(OCSP_SIGNATURE) diff --git a/include/openssl/ocsp.h b/include/openssl/ocsp.h index 971fc01c0b..3bf35bf7a4 100644 --- a/include/openssl/ocsp.h +++ b/include/openssl/ocsp.h @@ -116,6 +116,7 @@ DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE) DECLARE_ASN1_FUNCTIONS(OCSP_CERTID) DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST) DECLARE_ASN1_FUNCTIONS(OCSP_SINGLERESP) +DECLARE_ASN1_FUNCTIONS(OCSP_ONEREQ) // d2i_OCSP_REQUEST_bio parses a DER-encoded OCSP request from |bp|, converts it // into an |OCSP_REQUEST|, and writes the result in |preq|.