From 798f932980e2fe656a8ba2a1bde453484f6f07dc Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 3 Sep 2020 14:45:54 +0100 Subject: Fix safestack issues in cmp.h Reviewed-by: Richard Levitte Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12781) --- test/cmp_client_test.c | 2 -- test/cmp_ctx_test.c | 2 -- test/cmp_hdr_test.c | 2 -- test/cmp_msg_test.c | 2 -- 4 files changed, 8 deletions(-) (limited to 'test') diff --git a/test/cmp_client_test.c b/test/cmp_client_test.c index 9c72c58ad3..169f63a822 100644 --- a/test/cmp_client_test.c +++ b/test/cmp_client_test.c @@ -15,8 +15,6 @@ #ifndef NDEBUG /* tests need mock server, which is available only if !NDEBUG */ -DEFINE_STACK_OF(OSSL_CMP_ITAV) - static const char *server_key_f; static const char *server_cert_f; static const char *client_key_f; diff --git a/test/cmp_ctx_test.c b/test/cmp_ctx_test.c index 58c3fc85f7..72972fbaca 100644 --- a/test/cmp_ctx_test.c +++ b/test/cmp_ctx_test.c @@ -13,8 +13,6 @@ #include -DEFINE_STACK_OF(OSSL_CMP_ITAV) - typedef struct test_fixture { const char *test_case_name; OSSL_CMP_CTX *ctx; diff --git a/test/cmp_hdr_test.c b/test/cmp_hdr_test.c index 344df43fea..75baefb7b9 100644 --- a/test/cmp_hdr_test.c +++ b/test/cmp_hdr_test.c @@ -11,8 +11,6 @@ #include "cmp_testlib.h" -DEFINE_STACK_OF(OSSL_CMP_ITAV) - static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH]; typedef struct test_fixture { diff --git a/test/cmp_msg_test.c b/test/cmp_msg_test.c index a593f37cfc..3a0db7ece3 100644 --- a/test/cmp_msg_test.c +++ b/test/cmp_msg_test.c @@ -11,8 +11,6 @@ #include "cmp_testlib.h" -DEFINE_STACK_OF(OSSL_CMP_CERTRESPONSE) - static const char *newkey_f; static const char *server_cert_f; static const char *pkcs10_f; -- cgit v1.2.3