diff options
author | Rich Salz <rsalz@akamai.com> | 2016-01-17 14:39:57 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-01-17 16:58:36 -0500 |
commit | 213f60bf1779bf64089d89189e1d9ee484ec0f44 (patch) | |
tree | 99c393025668b540e8fbe45f95fc149c416fe158 /crypto | |
parent | ee6d9f4eb602479d04872f3a9fd1d3904bd96fd1 (diff) |
Accessor update; fix API, document one.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ocsp/ocsp_cl.c | 2 | ||||
-rw-r--r-- | crypto/ts/ts_rsp_utils.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/crypto/ocsp/ocsp_cl.c b/crypto/ocsp/ocsp_cl.c index 2f3835d9c9..218e12cbdb 100644 --- a/crypto/ocsp/ocsp_cl.c +++ b/crypto/ocsp/ocsp_cl.c @@ -242,7 +242,7 @@ OCSP_SINGLERESP *OCSP_resp_get0(OCSP_BASICRESP *bs, int idx) return sk_OCSP_SINGLERESP_value(bs->tbsResponseData.responses, idx); } -ASN1_GENERALIZEDTIME *OCSP_resp_get_produced_at(OCSP_BASICRESP* bs) +ASN1_GENERALIZEDTIME *OCSP_resp_get0_produced_at(OCSP_BASICRESP* bs) { if (!bs) return NULL; diff --git a/crypto/ts/ts_rsp_utils.c b/crypto/ts/ts_rsp_utils.c index c3cd1bd327..55c2221256 100644 --- a/crypto/ts/ts_rsp_utils.c +++ b/crypto/ts/ts_rsp_utils.c @@ -398,17 +398,17 @@ int TS_STATUS_INFO_set_status(TS_STATUS_INFO *a, int i) return ASN1_INTEGER_set(a->status, i); } -ASN1_INTEGER *TS_STATUS_INFO_get_status(TS_STATUS_INFO *a) +ASN1_INTEGER *TS_STATUS_INFO_get0_status(TS_STATUS_INFO *a) { return a->status; } -STACK_OF(ASN1_UTF8STRING) *TS_STATUS_INFO_get_text(TS_STATUS_INFO *a) +STACK_OF(ASN1_UTF8STRING) *TS_STATUS_INFO_get0_text(TS_STATUS_INFO *a) { return a->text; } -ASN1_BIT_STRING *TS_STATUS_INFO_get_failure_info(TS_STATUS_INFO *a) +ASN1_BIT_STRING *TS_STATUS_INFO_get0_failure_info(TS_STATUS_INFO *a) { return a->failure_info; } |