Remove 4 broken macros from ocsp.h
authorMatt Caswell <matt@openssl.org>
Tue, 31 Oct 2017 15:55:22 +0000 (15:55 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 7 Nov 2017 10:47:01 +0000 (10:47 +0000)
commit9f5671c7e9f30dfa53b1a2b553f234c2761ceb66
treef1f3a84632b993560f76974f80728791729640f2
parent14e06391a7805146ed6eb6415b6f58875b5c7686
Remove 4 broken macros from ocsp.h

There were 4 macros in ocsp.h that have not worked since 1.1.0 because
they attempt to access the internals of an opaque structure.

For OCSP_REQUEST_sign() applications should use OCSP_request_sign() instead.
For OCSP_BASICRESP_sign() applications should use OCSP_basic_sign() instead.
For OCSP_REQUEST_verify() applications should use OCSP_request_verify()
instead.
For OCSP_BASICRESP_verify() applications should use OCSP_basic_verify()
instead.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4635)
crypto/ocsp/ocsp_lcl.h
include/openssl/ocsp.h