diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-03 14:45:54 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-13 11:10:40 +0100 |
commit | 798f932980e2fe656a8ba2a1bde453484f6f07dc (patch) | |
tree | dce53065fe04758c0cf8a1751bba33de9ce1ccfd /test | |
parent | b4780134df95b34ae263e966e93c83594a38de5b (diff) |
Fix safestack issues in cmp.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 'test')
-rw-r--r-- | test/cmp_client_test.c | 2 | ||||
-rw-r--r-- | test/cmp_ctx_test.c | 2 | ||||
-rw-r--r-- | test/cmp_hdr_test.c | 2 | ||||
-rw-r--r-- | test/cmp_msg_test.c | 2 |
4 files changed, 0 insertions, 8 deletions
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 <openssl/x509_vfy.h> -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; |