OCSP HTTP: Restore API of undocumented and recently deprecated functions
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 18 Jan 2021 11:53:55 +0000 (12:53 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Sat, 23 Jan 2021 14:25:05 +0000 (15:25 +0100)
commitc9603dfa42d0643a6c8cac3e14364d9fd63303c4
treec0786fe4a40cb83f79c1a80985ef1089b65362c6
parent806990e7db4c0ea7ad544477bb7b697cc36347ea
OCSP HTTP: Restore API of undocumented and recently deprecated functions

Restore parameters of OCSP_REQ_CTX_new(), OCSP_REQ_CTX_http(), OCSP_REQ_CTX_i2d().
Fix a bug (wrong HTTP method selected on req == NULL in OCSP_sendreq_new().
Minor further fixes in OSSL_HTTP_REQ_CTX.pod

Fixes #13873

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13898)
crypto/ocsp/ocsp_http.c
doc/man3/OCSP_sendreq_new.pod
doc/man3/OSSL_HTTP_REQ_CTX.pod
include/openssl/ocsp.h.in
util/libcrypto.num
util/other.syms