From 7031f5821c4380d9c1f60a92734c940fdedfb488 Mon Sep 17 00:00:00 2001 From: "Dr. David von Oheimb" Date: Fri, 30 Apr 2021 18:29:12 +0200 Subject: OCSP: Minor improvements of documentation and header file Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15103) --- doc/man3/OCSP_sendreq_new.pod | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'doc/man3') diff --git a/doc/man3/OCSP_sendreq_new.pod b/doc/man3/OCSP_sendreq_new.pod index f01aadad6b..10c6131f86 100644 --- a/doc/man3/OCSP_sendreq_new.pod +++ b/doc/man3/OCSP_sendreq_new.pod @@ -2,6 +2,7 @@ =head1 NAME +OCSP_REQ_CTX, OCSP_sendreq_new, OCSP_sendreq_nbio, OCSP_sendreq_bio, @@ -27,13 +28,14 @@ Deprecated since OpenSSL 3.0, can be hidden entirely by defining B with a suitable version value, see L: + typedef OSSL_HTTP_REQ_CTX OCSP_REQ_CTX; int OCSP_REQ_CTX_i2d(OCSP_REQ_CT *rctx, const ASN1_ITEM *it, ASN1_VALUE *req); int OCSP_REQ_CTX_add1_header(OCSP_REQ_CT *rctx, const char *name, const char *value); - void OCSP_REQ_CTX_free(OSSL_HTTP_REQ_CTX *rctx); + void OCSP_REQ_CTX_free(OCSP_REQ_CTX *rctx); void OCSP_set_max_response_length(OCSP_REQ_CT *rctx, unsigned long len); - int OCSP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const OCSP_REQUEST *req); + int OCSP_REQ_CTX_set1_req(OCSP_REQ_CTX *rctx, const OCSP_REQUEST *req); =head1 DESCRIPTION @@ -70,10 +72,11 @@ OCSP_REQ_CTX_i2d(rctx, it, req) is equivalent to the following: OCSP_REQ_CTX_set1_req(rctx, req) is equivalent to the following: OSSL_HTTP_REQ_CTX_set1_req(rctx, "application/ocsp-request", - ASN1_ITEM_rptr(OCSP_REQUEST), (ASN1_VALUE *)req) + ASN1_ITEM_rptr(OCSP_REQUEST), + (const ASN1_VALUE *)req) -The other deprecated type and functions have been superseded by the -following equivalents: +The deprecated type and the remaining deprecated functions +have been superseded by the following equivalents: B by L, OCSP_REQ_CTX_add1_header() by L, OCSP_REQ_CTX_free() by L, and -- cgit v1.2.3