summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent24c4ea958ecae0b194cc3eb812a81766cdb421f6 (diff)
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 'apps')
-rw-r--r--apps/asn1pars.c2
-rw-r--r--apps/cmp_mock_srv.c1
-rw-r--r--apps/x509.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/apps/asn1pars.c b/apps/asn1pars.c
index 9acc3c0080..ae47aa8efc 100644
--- a/apps/asn1pars.c
+++ b/apps/asn1pars.c
@@ -18,8 +18,6 @@
#include <openssl/pem.h>
#include <openssl/asn1t.h>
-DEFINE_STACK_OF(ASN1_OBJECT)
-
typedef enum OPTION_choice {
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
OPT_INFORM, OPT_IN, OPT_OUT, OPT_INDENT, OPT_NOOUT,
diff --git a/apps/cmp_mock_srv.c b/apps/cmp_mock_srv.c
index 2c82567856..89db709f94 100644
--- a/apps/cmp_mock_srv.c
+++ b/apps/cmp_mock_srv.c
@@ -16,7 +16,6 @@
#include <openssl/cmperr.h>
DEFINE_STACK_OF(OSSL_CMP_ITAV)
-DEFINE_STACK_OF(ASN1_UTF8STRING)
/* the context for the CMP mock server */
typedef struct
diff --git a/apps/x509.c b/apps/x509.c
index a8f515a90b..5627bd9dbe 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -28,8 +28,6 @@
# include <openssl/dsa.h>
#endif
-DEFINE_STACK_OF(ASN1_OBJECT)
-
#undef POSTFIX
#define POSTFIX ".srl"
#define DEF_DAYS 30