summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-03 16:01:51 +0100
committerMatt Caswell <matt@openssl.org>2020-09-13 11:10:41 +0100
commit1e14bca2332a95340366324372c59e6a78ddbad7 (patch)
tree57de239c6315d8ba4f44c292805c25e2cdf13a84 /crypto
parent0b282540158bc4a7a291af7427a8da76f0a4980a (diff)
Fix safestack issues in ess.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')
-rw-r--r--crypto/cms/cms_ess.c3
-rw-r--r--crypto/ess/ess_lib.c3
-rw-r--r--crypto/ts/ts_rsp_verify.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/crypto/cms/cms_ess.c b/crypto/cms/cms_ess.c
index 9903c444fa..fa81b65c7b 100644
--- a/crypto/cms/cms_ess.c
+++ b/crypto/cms/cms_ess.c
@@ -20,9 +20,6 @@
#include "crypto/x509.h"
#include "cms_local.h"
-DEFINE_STACK_OF(ESS_CERT_ID)
-DEFINE_STACK_OF(ESS_CERT_ID_V2)
-
IMPLEMENT_ASN1_FUNCTIONS(CMS_ReceiptRequest)
/* ESS services */
diff --git a/crypto/ess/ess_lib.c b/crypto/ess/ess_lib.c
index c8e1bb8eba..325acddb95 100644
--- a/crypto/ess/ess_lib.c
+++ b/crypto/ess/ess_lib.c
@@ -14,9 +14,6 @@
#include "crypto/ess.h"
#include "crypto/x509.h"
-DEFINE_STACK_OF(ESS_CERT_ID)
-DEFINE_STACK_OF(ESS_CERT_ID_V2)
-
static ESS_CERT_ID *ESS_CERT_ID_new_init(X509 *cert, int issuer_needed);
static ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new_init(const EVP_MD *hash_alg,
X509 *cert, int issuer_needed);
diff --git a/crypto/ts/ts_rsp_verify.c b/crypto/ts/ts_rsp_verify.c
index cec15bd094..69ce5dc806 100644
--- a/crypto/ts/ts_rsp_verify.c
+++ b/crypto/ts/ts_rsp_verify.c
@@ -15,9 +15,6 @@
#include "ts_local.h"
#include "crypto/ess.h"
-DEFINE_STACK_OF(ESS_CERT_ID)
-DEFINE_STACK_OF(ESS_CERT_ID_V2)
-
static int ts_verify_cert(X509_STORE *store, STACK_OF(X509) *untrusted,
X509 *signer, STACK_OF(X509) **chain);
static int ts_check_signing_certs(PKCS7_SIGNER_INFO *si,