Make TS structures opaque.
authorRich Salz <rsalz@akamai.com>
Wed, 10 Jun 2015 18:07:40 +0000 (14:07 -0400)
committerRich Salz <rsalz@openssl.org>
Sat, 5 Sep 2015 21:49:20 +0000 (17:49 -0400)
commitca4a494cb7437a7af155361b0084de8329c0bf25
tree4f2cd56151c8fb1a80191021cdd55c80026eb946
parent8e704858f21983383be2b77e986f475b51719a1e
Make TS structures opaque.

Most of the accessors existed and were already used so it was easy.
TS_VERIFY_CTX didn't have accessors/settors so I added the simple and
obvious ones, and changed the app to use them.  Also, within crypto/ts,
replaced the functions with direct access to the structure members
since we generally aren't opaque within a directory.

Also fix RT3901.

Reviewed-by: Tim Hudson <tjh@openssl.org>
14 files changed:
apps/ts.c
crypto/ts/Makefile
crypto/ts/ts_asn1.c
crypto/ts/ts_lcl.h [new file with mode: 0644]
crypto/ts/ts_lib.c
crypto/ts/ts_req_print.c
crypto/ts/ts_req_utils.c
crypto/ts/ts_rsp_print.c
crypto/ts/ts_rsp_sign.c
crypto/ts/ts_rsp_utils.c
crypto/ts/ts_rsp_verify.c
crypto/ts/ts_verify_ctx.c
include/openssl/ts.h
util/libeay.num