diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-03 15:45:01 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-13 11:10:41 +0100 |
commit | 98c35dc48d36664c404fec2e12ce405ac0fbecc0 (patch) | |
tree | 8bfc1804c0714c88410608ef3e48f7f01d3fdd92 /crypto/cmp | |
parent | c5a5581127c75fe9e9d56d42dd6bd95eb679729f (diff) | |
download | openssl-new-98c35dc48d36664c404fec2e12ce405ac0fbecc0.tar.gz |
Fix safestack issues in crmf.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/cmp')
-rw-r--r-- | crypto/cmp/cmp_client.c | 2 | ||||
-rw-r--r-- | crypto/cmp/cmp_msg.c | 3 | ||||
-rw-r--r-- | crypto/cmp/cmp_server.c | 2 |
3 files changed, 0 insertions, 7 deletions
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 <openssl/x509.h> #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 <openssl/cmp.h> #include <openssl/err.h> -DEFINE_STACK_OF(OSSL_CRMF_MSG) - /* the context for the generic CMP server */ struct ossl_cmp_srv_ctx_st { |