summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-03 16:37:45 +0200
committerMatt Caswell <matt@openssl.org>2020-09-13 12:10:41 +0200
commitc5a5581127c75fe9e9d56d42dd6bd95eb679729f (patch)
tree0d10f77ace2cd630c8e0090354955175c061b084 /crypto
parentFix safestack issues in srp.h (diff)
downloadopenssl-c5a5581127c75fe9e9d56d42dd6bd95eb679729f.tar.xz
openssl-c5a5581127c75fe9e9d56d42dd6bd95eb679729f.zip
Fix safestack issues in x509_vfy.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/cmp/cmp_util.c2
-rw-r--r--crypto/x509/by_dir.c2
-rw-r--r--crypto/x509/x509_lu.c3
-rw-r--r--crypto/x509/x509_vpm.c2
4 files changed, 0 insertions, 9 deletions
diff --git a/crypto/cmp/cmp_util.c b/crypto/cmp/cmp_util.c
index bdd876a89f..12afe57028 100644
--- a/crypto/cmp/cmp_util.c
+++ b/crypto/cmp/cmp_util.c
@@ -16,8 +16,6 @@
#include <openssl/err.h> /* should be implied by cmperr.h */
#include <openssl/x509v3.h>
-DEFINE_STACK_OF(X509_OBJECT)
-
/*
* use trace API for CMP-specific logging, prefixed by "CMP " and severity
*/
diff --git a/crypto/x509/by_dir.c b/crypto/x509/by_dir.c
index ff6e4cf03c..da04daf902 100644
--- a/crypto/x509/by_dir.c
+++ b/crypto/x509/by_dir.c
@@ -22,8 +22,6 @@
#include "crypto/x509.h"
#include "x509_local.h"
-DEFINE_STACK_OF(X509_OBJECT)
-
struct lookup_dir_hashes_st {
unsigned long hash;
int suffix;
diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c
index 77488b6e05..de81fad513 100644
--- a/crypto/x509/x509_lu.c
+++ b/crypto/x509/x509_lu.c
@@ -15,9 +15,6 @@
#include <openssl/x509v3.h>
#include "x509_local.h"
-DEFINE_STACK_OF(X509_LOOKUP)
-DEFINE_STACK_OF(X509_OBJECT)
-
X509_LOOKUP *X509_LOOKUP_new(X509_LOOKUP_METHOD *method)
{
X509_LOOKUP *ret = OPENSSL_zalloc(sizeof(*ret));
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index 17c0790911..a429d5a5ae 100644
--- a/crypto/x509/x509_vpm.c
+++ b/crypto/x509/x509_vpm.c
@@ -18,8 +18,6 @@
#include "x509_local.h"
-DEFINE_STACK_OF(X509_VERIFY_PARAM)
-
/* X509_VERIFY_PARAM functions */
#define SET_HOST 0