/include/openssl/bio.h
/include/openssl/cmp.h
/include/openssl/cms.h
+/include/openssl/conf.h
/include/openssl/configuration.h
/include/openssl/crmf.h
/include/openssl/ct.h
#include "apps.h"
#include "progs.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
#ifndef W_OK
# define F_OK 0
# define W_OK 2
#define PASS_SOURCE_SIZE_MAX 4
DEFINE_STACK_OF(CONF)
-DEFINE_STACK_OF(CONF_VALUE)
typedef struct {
const char *name;
#include <openssl/bn.h>
#include <openssl/x509v3.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
#if defined(__TANDEM)
# if defined(OPENSSL_TANDEM_FLOSS)
# include <floss.h(floss_fork)>
# include <openssl/dsa.h>
#endif
-DEFINE_STACK_OF(CONF_VALUE)
-
#define BITS "default_bits"
#define KEYFILE "default_keyfile"
#define PROMPT "prompt"
include/openssl/bio.h \
include/openssl/cmp.h \
include/openssl/cms.h \
+ include/openssl/conf.h \
include/openssl/configuration.h \
include/openssl/crmf.h \
include/openssl/ct.h \
GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in
GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
+GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in
GENERATE[include/openssl/configuration.h]=include/openssl/configuration.h.in
GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in
GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
#define ASN1_GEN_STR(str,val) {str, sizeof(str) - 1, val}
-DEFINE_STACK_OF(CONF_VALUE)
-
#define ASN1_FLAG_EXP_MAX 20
/* Maximum number of nested sequences */
#define ASN1_GEN_SEQ_MAX_DEPTH 50
#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);
#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);
#include <openssl/cmp.h>
#include <openssl/err.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
/*
* Send the PKIMessage req and on success return the response, else NULL.
* Any previous error queue entries will likely be removed by ERR_clear_error().
#include <openssl/conf.h>
#include <openssl/conf_api.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf);
static void value_free_stack_doall(CONF_VALUE *a);
#include <openssl/trace.h>
#include <openssl/engine.h>
-DEFINE_STACK_OF(CONF_VALUE)
DEFINE_STACK_OF(CONF_MODULE)
DEFINE_STACK_OF(CONF_IMODULE)
#include "internal/sslconf.h"
#include "conf_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
/*
* SSL library configuration module placeholder. We load it here but defer
* all decisions about its contents to libssl.
#include <openssl/conf.h>
#include <openssl/trace.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
/* ENGINE config module */
static const char *skip_dot(const char *name)
#include <openssl/trace.h>
#include "crypto/evp.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
/* Algorithm configuration module. */
static int alg_module_init(CONF_IMODULE *md, const CONF *cnf)
#include "http_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
#define HTTP_PREFIX "HTTP/"
#define HTTP_VERSION_PATT "1." /* allow 1.x */
#define HTTP_VERSION_STR_LEN 3
#include "internal/provider.h"
DEFINE_STACK_OF(OSSL_PROVIDER)
-DEFINE_STACK_OF(CONF_VALUE)
/* PROVIDER config module */
#include <openssl/engine.h>
#include <openssl/ts.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
/* Macro definitions for the configuration file. */
#define BASE_SECTION "tsa"
#define ENV_DEFAULT_TSA "default_tsa"
#include <openssl/ts.h>
#include "ts_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
struct status_map_st {
int bit;
const char *text;
#ifndef OPENSSL_NO_RFC3779
-DEFINE_STACK_OF(CONF_VALUE)
-
/*
* OpenSSL ASN.1 template translation of RFC 3779 2.2.3.
*/
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_KEYID(X509V3_EXT_METHOD *method,
AUTHORITY_KEYID *akeyid,
STACK_OF(CONF_VALUE)
#include <openssl/bio.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static GENERAL_NAMES *v2i_subject_alt(X509V3_EXT_METHOD *method,
X509V3_CTX *ctx,
STACK_OF(CONF_VALUE) *nval);
IMPLEMENT_ASN1_FUNCTIONS(ASIdentifierChoice)
IMPLEMENT_ASN1_FUNCTIONS(ASIdentifiers)
-DEFINE_STACK_OF(CONF_VALUE)
-
/*
* i2r method for an ASIdentifierChoice.
*/
#include "ext_dat.h"
#include "x509_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(CONF_VALUE) *i2v_BASIC_CONSTRAINTS(X509V3_EXT_METHOD *method,
BASIC_CONSTRAINTS *bcons,
STACK_OF(CONF_VALUE)
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static BIT_STRING_BITNAME ns_cert_type_table[] = {
{0, "SSL Client", "client"},
{1, "SSL Server", "server"},
#include "crypto/x509.h"
#include <openssl/x509v3.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
static int v3_check_critical(const char **value);
static int v3_check_generic(const char **value);
static X509_EXTENSION *do_ext_nconf(CONF *conf, X509V3_CTX *ctx, int ext_nid,
#include "pcy_local.h"
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
/* Certificate policies extension support: this one is a bit complex... */
static int i2r_certpol(X509V3_EXT_METHOD *method, STACK_OF(POLICYINFO) *pol,
#include "ext_dat.h"
#include "x509_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static void *v2i_crld(const X509V3_EXT_METHOD *method,
X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
static int i2r_crldp(const X509V3_EXT_METHOD *method, void *pcrldp, BIO *out,
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static void *v2i_EXTENDED_KEY_USAGE(const X509V3_EXT_METHOD *method,
X509V3_CTX *ctx,
STACK_OF(CONF_VALUE) *nval);
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(CONF_VALUE) *i2v_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD
*method, AUTHORITY_INFO_ACCESS
*ainfo, STACK_OF(CONF_VALUE)
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
/*
* Issuer Sign Tool (1.2.643.100.112) The name of the tool used to signs the subject (ASN1_SEQUENCE)
* This extention is required to obtain the status of a qualified certificate at Russian Federation.
#include "crypto/punycode.h"
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static void *v2i_NAME_CONSTRAINTS(const X509V3_EXT_METHOD *method,
X509V3_CTX *ctx,
STACK_OF(CONF_VALUE) *nval);
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static int i2r_pci(X509V3_EXT_METHOD *method, PROXY_CERT_INFO_EXTENSION *ext,
BIO *out, int indent);
static PROXY_CERT_INFO_EXTENSION *r2i_pci(X509V3_EXT_METHOD *method,
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(CONF_VALUE) *i2v_POLICY_CONSTRAINTS(const X509V3_EXT_METHOD
*method, void *bcons, STACK_OF(CONF_VALUE)
*extlist);
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static void *v2i_POLICY_MAPPINGS(const X509V3_EXT_METHOD *method,
X509V3_CTX *ctx, STACK_OF(CONF_VALUE) *nval);
static STACK_OF(CONF_VALUE) *i2v_POLICY_MAPPINGS(const X509V3_EXT_METHOD
#include <openssl/conf.h>
#include <openssl/x509v3.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
/* Extension printing routines */
static int unknown_ext_print(BIO *out, const unsigned char *ext, int extlen,
#include <openssl/x509v3.h>
#include "ext_dat.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
/* Support for Thawte strong extranet extension */
#define SXNET_TEST
#include "ext_dat.h"
#include "x509_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(CONF_VALUE) *i2v_TLS_FEATURE(const X509V3_EXT_METHOD *method,
TLS_FEATURE *tls_feature,
STACK_OF(CONF_VALUE) *ext_list);
#include "ext_dat.h"
#include "x509_local.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static char *strip_spaces(char *name);
static int sk_strcmp(const char *const *a, const char *const *b);
static STACK_OF(OPENSSL_STRING) *get_email(const X509_NAME *name,
/*
+ * {- join("\n * ", @autowarntext) -}
+ *
* Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* https://www.openssl.org/source/license.html
*/
+{-
+use OpenSSL::stackhash qw(generate_stack_macros);
+-}
+
#ifndef OPENSSL_CONF_H
# define OPENSSL_CONF_H
# pragma once
char *value;
} CONF_VALUE;
-DEFINE_OR_DECLARE_STACK_OF(CONF_VALUE)
+{-
+ generate_stack_macros("CONF_VALUE");
+-}
DEFINE_LHASH_OF(CONF_VALUE);
#include <openssl/safestack.h>
#include <openssl/err.h>
-DEFINE_STACK_OF(CONF_VALUE)
-
static STACK_OF(OPENSSL_CSTRING) *section_names = NULL;
static void collect_section_name(CONF_VALUE *v)
#include "testutil.h"
-DEFINE_STACK_OF(CONF_VALUE)
-
static const ASN1_ITEM *x509_it = NULL;
static X509 *x509 = NULL;
#define SERVER "mock.server"
# define strcasecmp _stricmp
#endif
-DEFINE_STACK_OF(CONF_VALUE)
-
static const int default_app_data_size = 256;
/* Default set to be as small as possible to exercise fragmentation. */
static const int default_max_fragment_size = 512;