Add some accessors.
authorRich Salz <rsalz@akamai.com>
Sun, 17 Jan 2016 15:34:26 +0000 (10:34 -0500)
committerRich Salz <rsalz@openssl.org>
Sun, 17 Jan 2016 15:38:03 +0000 (10:38 -0500)
commit9e5cd4bac777e27ebcdc9aa411f0a63c27500468
treebd8c15096e8c3e0a2cf64cecf715a65553c9e507
parent0b3a231efd3a29aa8a1e8dfaecb008e4798d9923
Add some accessors.

Author: Remi Gacogne <rgacogne-github@coredump.fr>
GH334: Add an OCSP_SINGLERESP_get0_id() accessor to the OCSP_CERTID of
a OCSP_SINGLERESP. It is possible to do it the other way around using
OCSP_resp_find(), but this is more efficient when you have a tree indexed
by OCSP_CERTID, like haproxy does. (This is also RT4251)

Author: Marek Klein <kleinmrk@gmail.com>
GH556: OCSP_resp_get_produced_at() accessor to the producedAt of a
OCSP_BASICRESP
GH555: TS_STATUS_INFO_get_status(), TS_STATUS_INFO_get_text() and
TS_STATUS_INFO_get_failure_info() accessors for a TS_STATUS_INFO

Signed-off-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
crypto/ocsp/ocsp_cl.c
crypto/ts/ts_rsp_utils.c
include/openssl/ocsp.h
include/openssl/ts.h
util/libeay.num