summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs12
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2020-09-03 15:20:03 +0100
committerMatt Caswell <matt@openssl.org>2020-09-13 11:10:41 +0100
commit02199cc39db2669933cefc6319599ba491bb3a85 (patch)
treec570b461ca10ebc39a91d1a656c12655de0cfd8a /crypto/pkcs12
parentfd3ed85c67174a0d3b6639ba9b237351d1c2201f (diff)
Fix safestack issues in pkcs7.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/pkcs12')
-rw-r--r--crypto/pkcs12/p12_crt.c1
-rw-r--r--crypto/pkcs12/p12_kiss.c1
-rw-r--r--crypto/pkcs12/p12_npas.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/crypto/pkcs12/p12_crt.c b/crypto/pkcs12/p12_crt.c
index 757b6ae631..d673c8b293 100644
--- a/crypto/pkcs12/p12_crt.c
+++ b/crypto/pkcs12/p12_crt.c
@@ -12,7 +12,6 @@
#include <openssl/pkcs12.h>
#include "p12_local.h"
-DEFINE_STACK_OF(PKCS7)
DEFINE_STACK_OF(PKCS12_SAFEBAG)
static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags,
diff --git a/crypto/pkcs12/p12_kiss.c b/crypto/pkcs12/p12_kiss.c
index 433bccdb30..a43091380c 100644
--- a/crypto/pkcs12/p12_kiss.c
+++ b/crypto/pkcs12/p12_kiss.c
@@ -12,7 +12,6 @@
#include <openssl/pkcs12.h>
#include "crypto/x509.h" /* for X509_add_cert_new() */
-DEFINE_STACK_OF(PKCS7)
DEFINE_STACK_OF(PKCS12_SAFEBAG)
/* Simplified PKCS#12 routines */
diff --git a/crypto/pkcs12/p12_npas.c b/crypto/pkcs12/p12_npas.c
index a83d745bd5..99e21489ad 100644
--- a/crypto/pkcs12/p12_npas.c
+++ b/crypto/pkcs12/p12_npas.c
@@ -15,7 +15,6 @@
#include <openssl/pkcs12.h>
#include "p12_local.h"
-DEFINE_STACK_OF(PKCS7)
DEFINE_STACK_OF(PKCS12_SAFEBAG)
/* PKCS#12 password change routine */