summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/a_strnid.c2
-rw-r--r--crypto/asn1/asn1_gen.c3
-rw-r--r--crypto/asn1/asn1_lib.c2
-rw-r--r--crypto/asn1/asn_mime.c3
-rw-r--r--crypto/asn1/asn_moid.c2
-rw-r--r--crypto/asn1/asn_mstbl.c1
-rw-r--r--crypto/asn1/d2i_pr.c1
-rw-r--r--crypto/asn1/tasn_dec.c1
-rw-r--r--crypto/asn1/tasn_fre.c2
-rw-r--r--crypto/asn1/tasn_new.c2
-rw-r--r--crypto/cmp/cmp_asn.c2
-rw-r--r--crypto/cmp/cmp_client.c6
-rw-r--r--crypto/cmp/cmp_ctx.c11
-rw-r--r--crypto/cmp/cmp_hdr.c3
-rw-r--r--crypto/cmp/cmp_http.c2
-rw-r--r--crypto/cmp/cmp_msg.c10
-rw-r--r--crypto/cmp/cmp_protect.c2
-rw-r--r--crypto/cmp/cmp_server.c5
-rw-r--r--crypto/cmp/cmp_status.c2
-rw-r--r--crypto/cmp/cmp_util.c4
-rw-r--r--crypto/cmp/cmp_vfy.c2
-rw-r--r--crypto/cms/cms_env.c4
-rw-r--r--crypto/cms/cms_ess.c3
-rw-r--r--crypto/cms/cms_kari.c2
-rw-r--r--crypto/cms/cms_lib.c4
-rw-r--r--crypto/cms/cms_pwri.c2
-rw-r--r--crypto/cms/cms_sd.c6
-rw-r--r--crypto/cms/cms_smime.c6
-rw-r--r--crypto/conf/conf_api.c2
-rw-r--r--crypto/conf/conf_def.c2
-rw-r--r--crypto/conf/conf_mod.c4
-rw-r--r--crypto/conf/conf_ssl.c2
-rw-r--r--crypto/crmf/crmf_lib.c3
-rw-r--r--crypto/ct/ct_log.c2
-rw-r--r--crypto/ct/ct_oct.c2
-rw-r--r--crypto/ct/ct_prn.c2
-rw-r--r--crypto/ct/ct_sct.c2
-rw-r--r--crypto/ct/ct_x509v3.c2
-rw-r--r--crypto/dso/dso_dlfcn.c2
-rw-r--r--crypto/dso/dso_lib.c2
-rw-r--r--crypto/dso/dso_win32.c2
-rw-r--r--crypto/engine/eng_cnf.c2
-rw-r--r--crypto/engine/eng_dyn.c2
-rw-r--r--crypto/ess/ess_lib.c5
-rw-r--r--crypto/evp/evp_cnf.c2
-rw-r--r--crypto/evp/p_lib.c1
-rw-r--r--crypto/ex_data.c2
-rw-r--r--crypto/http/http_client.c2
-rw-r--r--crypto/ocsp/ocsp_cl.c4
-rw-r--r--crypto/ocsp/ocsp_ext.c3
-rw-r--r--crypto/ocsp/ocsp_prn.c4
-rw-r--r--crypto/ocsp/ocsp_srv.c4
-rw-r--r--crypto/ocsp/ocsp_vfy.c4
-rw-r--r--crypto/ocsp/v3_ocsp.c2
-rw-r--r--crypto/pem/pem_info.c2
-rw-r--r--crypto/pkcs12/p12_crt.c4
-rw-r--r--crypto/pkcs12/p12_kiss.c4
-rw-r--r--crypto/pkcs12/p12_npas.c3
-rw-r--r--crypto/pkcs7/pk7_attr.c2
-rw-r--r--crypto/pkcs7/pk7_doit.c5
-rw-r--r--crypto/pkcs7/pk7_lib.c6
-rw-r--r--crypto/pkcs7/pk7_smime.c6
-rw-r--r--crypto/provider_conf.c4
-rw-r--r--crypto/srp/srp_vfy.c4
-rw-r--r--crypto/store/loader_file.c2
-rw-r--r--crypto/ts/ts_conf.c4
-rw-r--r--crypto/ts/ts_req_utils.c2
-rw-r--r--crypto/ts/ts_rsp_print.c3
-rw-r--r--crypto/ts/ts_rsp_sign.c6
-rw-r--r--crypto/ts/ts_rsp_utils.c2
-rw-r--r--crypto/ts/ts_rsp_verify.c7
-rw-r--r--crypto/ts/ts_verify_ctx.c2
-rw-r--r--crypto/ui/ui_lib.c2
-rw-r--r--crypto/x509/by_dir.c2
-rw-r--r--crypto/x509/by_file.c2
-rw-r--r--crypto/x509/by_store.c2
-rw-r--r--crypto/x509/pcy_cache.c2
-rw-r--r--crypto/x509/pcy_data.c3
-rw-r--r--crypto/x509/pcy_lib.c2
-rw-r--r--crypto/x509/pcy_map.c3
-rw-r--r--crypto/x509/pcy_node.c3
-rw-r--r--crypto/x509/pcy_tree.c4
-rw-r--r--crypto/x509/t_crl.c2
-rw-r--r--crypto/x509/t_req.c2
-rw-r--r--crypto/x509/t_x509.c3
-rw-r--r--crypto/x509/v3_addr.c5
-rw-r--r--crypto/x509/v3_admis.c4
-rw-r--r--crypto/x509/v3_akey.c3
-rw-r--r--crypto/x509/v3_alt.c3
-rw-r--r--crypto/x509/v3_asid.c4
-rw-r--r--crypto/x509/v3_bcons.c2
-rw-r--r--crypto/x509/v3_bitst.c2
-rw-r--r--crypto/x509/v3_conf.c3
-rw-r--r--crypto/x509/v3_cpols.c5
-rw-r--r--crypto/x509/v3_crld.c5
-rw-r--r--crypto/x509/v3_extku.c3
-rw-r--r--crypto/x509/v3_info.c3
-rw-r--r--crypto/x509/v3_ist.c2
-rw-r--r--crypto/x509/v3_lib.c3
-rw-r--r--crypto/x509/v3_ncons.c4
-rw-r--r--crypto/x509/v3_pci.c2
-rw-r--r--crypto/x509/v3_pcons.c2
-rw-r--r--crypto/x509/v3_pmaps.c3
-rw-r--r--crypto/x509/v3_prn.c3
-rw-r--r--crypto/x509/v3_purp.c5
-rw-r--r--crypto/x509/v3_sxnet.c3
-rw-r--r--crypto/x509/v3_tlsf.c3
-rw-r--r--crypto/x509/v3_utl.c6
-rw-r--r--crypto/x509/x509_att.c3
-rw-r--r--crypto/x509/x509_cmp.c2
-rw-r--r--crypto/x509/x509_lu.c5
-rw-r--r--crypto/x509/x509_obj.c2
-rw-r--r--crypto/x509/x509_r2x.c2
-rw-r--r--crypto/x509/x509_trs.c3
-rw-r--r--crypto/x509/x509_v3.c2
-rw-r--r--crypto/x509/x509_vfy.c7
-rw-r--r--crypto/x509/x509_vpm.c4
-rw-r--r--crypto/x509/x509cset.c2
-rw-r--r--crypto/x509/x509name.c2
-rw-r--r--crypto/x509/x_attrib.c2
-rw-r--r--crypto/x509/x_crl.c5
-rw-r--r--crypto/x509/x_name.c3
-rw-r--r--crypto/x509/x_req.c2
-rw-r--r--crypto/x509/x_x509.c2
-rw-r--r--crypto/x509/x_x509a.c2
125 files changed, 386 insertions, 3 deletions
diff --git a/crypto/asn1/a_strnid.c b/crypto/asn1/a_strnid.c
index ab54739714..518d408937 100644
--- a/crypto/asn1/a_strnid.c
+++ b/crypto/asn1/a_strnid.c
@@ -12,6 +12,8 @@
#include <openssl/asn1.h>
#include <openssl/objects.h>
+DEFINE_STACK_OF(ASN1_STRING_TABLE)
+
static STACK_OF(ASN1_STRING_TABLE) *stable = NULL;
static void st_free(ASN1_STRING_TABLE *tbl);
static int sk_table_cmp(const ASN1_STRING_TABLE *const *a,
diff --git a/crypto/asn1/asn1_gen.c b/crypto/asn1/asn1_gen.c
index 7b50a0ce63..c5fb8f91b1 100644
--- a/crypto/asn1/asn1_gen.c
+++ b/crypto/asn1/asn1_gen.c
@@ -23,6 +23,9 @@
#define ASN1_GEN_STR(str,val) {str, sizeof(str) - 1, val}
+DEFINE_STACK_OF(ASN1_TYPE)
+DEFINE_STACK_OF(CONF_VALUE)
+
#define ASN1_FLAG_EXP_MAX 20
/* Maximum number of nested sequences */
#define ASN1_GEN_SEQ_MAX_DEPTH 50
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c
index 1331f608f4..47ae801b94 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -13,6 +13,8 @@
#include <openssl/asn1.h>
#include "asn1_local.h"
+DEFINE_STACK_OF(ASN1_UTF8STRING)
+
static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
long max);
static void asn1_put_length(unsigned char **pp, int length);
diff --git a/crypto/asn1/asn_mime.c b/crypto/asn1/asn_mime.c
index 30da0298c0..4eb92d6844 100644
--- a/crypto/asn1/asn_mime.c
+++ b/crypto/asn1/asn_mime.c
@@ -18,6 +18,9 @@
#include "internal/bio.h"
#include "asn1_local.h"
+DEFINE_STACK_OF(BIO)
+DEFINE_STACK_OF(X509_ALGOR)
+
/*
* Generalised MIME like utilities for streaming ASN1. Although many have a
* PKCS7/CMS like flavour others are more general purpose.
diff --git a/crypto/asn1/asn_moid.c b/crypto/asn1/asn_moid.c
index 90f8076048..02ca99db79 100644
--- a/crypto/asn1/asn_moid.c
+++ b/crypto/asn1/asn_moid.c
@@ -16,6 +16,8 @@
#include "crypto/asn1.h"
#include "crypto/objects.h"
+DEFINE_STACK_OF(CONF_VALUE)
+
/* Simple ASN1 OID module: add all objects in a given section */
static int do_create(const char *value, const char *name);
diff --git a/crypto/asn1/asn_mstbl.c b/crypto/asn1/asn_mstbl.c
index 3139ab07cc..dedf1c3240 100644
--- a/crypto/asn1/asn_mstbl.c
+++ b/crypto/asn1/asn_mstbl.c
@@ -13,6 +13,7 @@
#include <openssl/conf.h>
#include <openssl/x509v3.h>
+DEFINE_STACK_OF(CONF_VALUE)
/* Multi string module: add table entries from a given section */
static int do_tcreate(const char *value, const char *name);
diff --git a/crypto/asn1/d2i_pr.c b/crypto/asn1/d2i_pr.c
index a4f3dd5359..c7346f5424 100644
--- a/