Skip to content

Commit b74d80d

Browse files
authored
Move OCSP ASN1 type functions to public header (#2239)
### Description of changes: Improve compatibility with OpenSSL APIs for OCSP. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent 6ffb759 commit b74d80d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

crypto/ocsp/internal.h

-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ struct ocsp_basic_response_st {
234234
STACK_OF(X509) *certs;
235235
};
236236

237-
DECLARE_ASN1_FUNCTIONS(OCSP_ONEREQ)
238237
DECLARE_ASN1_FUNCTIONS(OCSP_RESPDATA)
239238
DECLARE_ASN1_FUNCTIONS(OCSP_REQINFO)
240239
DECLARE_ASN1_FUNCTIONS(OCSP_SIGNATURE)

include/openssl/ocsp.h

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE)
116116
DECLARE_ASN1_FUNCTIONS(OCSP_CERTID)
117117
DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST)
118118
DECLARE_ASN1_FUNCTIONS(OCSP_SINGLERESP)
119+
DECLARE_ASN1_FUNCTIONS(OCSP_ONEREQ)
119120

120121
// d2i_OCSP_REQUEST_bio parses a DER-encoded OCSP request from |bp|, converts it
121122
// into an |OCSP_REQUEST|, and writes the result in |preq|.

0 commit comments

Comments
 (0)