summaryrefslogtreecommitdiffstats
path: root/crypto/ts/ts_asn1.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-06-10 14:07:40 -0400
committerRich Salz <rsalz@openssl.org>2015-09-05 17:49:20 -0400
commitca4a494cb7437a7af155361b0084de8329c0bf25 (patch)
tree4f2cd56151c8fb1a80191021cdd55c80026eb946 /crypto/ts/ts_asn1.c
parent8e704858f21983383be2b77e986f475b51719a1e (diff)
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>
Diffstat (limited to 'crypto/ts/ts_asn1.c')
-rw-r--r--crypto/ts/ts_asn1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/ts/ts_asn1.c b/crypto/ts/ts_asn1.c
index 99b686f39d..f4884a2596 100644
--- a/crypto/ts/ts_asn1.c
+++ b/crypto/ts/ts_asn1.c
@@ -59,6 +59,7 @@
#include <openssl/ts.h>
#include <openssl/err.h>
#include <openssl/asn1t.h>
+#include "ts_lcl.h"
ASN1_SEQUENCE(TS_MSG_IMPRINT) = {
ASN1_SIMPLE(TS_MSG_IMPRINT, hash_algo, X509_ALGOR),