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:49:23 +0000 (10:49 +0000)
commitfb969d09b0a9a1ae4ad27fbc1372aa31ade30667
treebe8f9bb5cecc75a84e9dd5fc18fad6dfce30e342
parent470a601705673102b9d33359408bef6334f07078
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)

(cherry picked from commit 9f5671c7e9f30dfa53b1a2b553f234c2761ceb66)
crypto/ocsp/ocsp_lcl.h
include/openssl/ocsp.h