From 98c35dc48d36664c404fec2e12ce405ac0fbecc0 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 3 Sep 2020 15:45:01 +0100 Subject: Fix safestack issues in crmf.h Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12781) --- crypto/cmp/cmp_client.c | 2 -- crypto/cmp/cmp_msg.c | 3 --- crypto/cmp/cmp_server.c | 2 -- 3 files changed, 7 deletions(-) (limited to 'crypto/cmp') diff --git a/crypto/cmp/cmp_client.c b/crypto/cmp/cmp_client.c index ad34b978c7..ef256e6c72 100644 --- a/crypto/cmp/cmp_client.c +++ b/crypto/cmp/cmp_client.c @@ -21,8 +21,6 @@ #include "openssl/cmp_util.h" -DEFINE_STACK_OF(OSSL_CRMF_CERTID) - #define IS_CREP(t) ((t) == OSSL_CMP_PKIBODY_IP || (t) == OSSL_CMP_PKIBODY_CP \ || (t) == OSSL_CMP_PKIBODY_KUP) diff --git a/crypto/cmp/cmp_msg.c b/crypto/cmp/cmp_msg.c index 73246ffaee..5ff8e9fc52 100644 --- a/crypto/cmp/cmp_msg.c +++ b/crypto/cmp/cmp_msg.c @@ -21,9 +21,6 @@ #include #include "crypto/x509.h" /* for x509_set0_libctx() */ -DEFINE_STACK_OF(OSSL_CRMF_MSG) -DEFINE_STACK_OF(OSSL_CRMF_CERTID) - OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg) { if (msg == NULL) { diff --git a/crypto/cmp/cmp_server.c b/crypto/cmp/cmp_server.c index 94aa9aac8b..e9ddf496f2 100644 --- a/crypto/cmp/cmp_server.c +++ b/crypto/cmp/cmp_server.c @@ -19,8 +19,6 @@ #include #include -DEFINE_STACK_OF(OSSL_CRMF_MSG) - /* the context for the generic CMP server */ struct ossl_cmp_srv_ctx_st { -- cgit v1.2.1