summaryrefslogtreecommitdiff
path: root/crypto/ts
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-03 14:35:41 +0100
committerMatt Caswell <matt@openssl.org>2020-09-13 11:10:40 +0100
commitb4780134df95b34ae263e966e93c83594a38de5b (patch)
tree81e361e6653d1fc025af029be24d71af6a8f5051 /crypto/ts
parent24c4ea958ecae0b194cc3eb812a81766cdb421f6 (diff)
downloadopenssl-new-b4780134df95b34ae263e966e93c83594a38de5b.tar.gz
Fix safestack issues in asn1.h
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12781)
Diffstat (limited to 'crypto/ts')
-rw-r--r--crypto/ts/ts_rsp_print.c1
-rw-r--r--crypto/ts/ts_rsp_sign.c2
-rw-r--r--crypto/ts/ts_rsp_verify.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/crypto/ts/ts_rsp_print.c b/crypto/ts/ts_rsp_print.c
index b5374e0fc1..e74ef452cc 100644
--- a/crypto/ts/ts_rsp_print.c
+++ b/crypto/ts/ts_rsp_print.c
@@ -15,7 +15,6 @@
#include <openssl/ts.h>
#include "ts_local.h"
-DEFINE_STACK_OF(ASN1_UTF8STRING)
DEFINE_STACK_OF(CONF_VALUE)
struct status_map_st {
diff --git a/crypto/ts/ts_rsp_sign.c b/crypto/ts/ts_rsp_sign.c
index a1904719cc..0e139be5b9 100644
--- a/crypto/ts/ts_rsp_sign.c
+++ b/crypto/ts/ts_rsp_sign.c
@@ -17,8 +17,6 @@
#include "ts_local.h"
#include "crypto/ess.h"
-DEFINE_STACK_OF(ASN1_UTF8STRING)
-DEFINE_STACK_OF(ASN1_OBJECT)
DEFINE_STACK_OF_CONST(EVP_MD)
static ASN1_INTEGER *def_serial_cb(struct TS_resp_ctx *, void *);
diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c
index 02690c19a7..0077798c43 100644
--- a/crypto/ts/ts_rsp_verify.c
+++ b/crypto/ts/ts_rsp_verify.c
@@ -18,7 +18,6 @@
DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
DEFINE_STACK_OF(ESS_CERT_ID)
DEFINE_STACK_OF(ESS_CERT_ID_V2)
-DEFINE_STACK_OF(ASN1_UTF8STRING)
static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
X509 *signer, STACK_OF(X509) **chain);