Latest update.
This commit is contained in:
@@ -417,11 +417,6 @@ OpenSSL 3.0
|
|||||||
replaced with no-ops.
|
replaced with no-ops.
|
||||||
|
|
||||||
*Rich Salz*
|
*Rich Salz*
|
||||||
|
|
||||||
* Added documentation for the STACK API. OpenSSL only defines the STACK
|
|
||||||
functions where they are used.
|
|
||||||
|
|
||||||
*Rich Salz*
|
|
||||||
|
|
||||||
* Introduced a new method type and API, OSSL_SERIALIZER, to
|
* Introduced a new method type and API, OSSL_SERIALIZER, to
|
||||||
represent generic serializers. An implementation is expected to
|
represent generic serializers. An implementation is expected to
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ my %targets=(
|
|||||||
includes => [],
|
includes => [],
|
||||||
lib_cflags => "",
|
lib_cflags => "",
|
||||||
lib_cppflags => "",
|
lib_cppflags => "",
|
||||||
lib_defines => [],
|
lib_defines => [ 'OPENSSL_BUILDING_OPENSSL' ],
|
||||||
thread_scheme => "(unknown)", # Assume we don't know
|
thread_scheme => "(unknown)", # Assume we don't know
|
||||||
thread_defines => [],
|
thread_defines => [],
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ my %targets=(
|
|||||||
|
|
||||||
defines =>
|
defines =>
|
||||||
sub {
|
sub {
|
||||||
my @defs = ( 'OPENSSL_BUILDING_OPENSSL' );
|
my @defs = ();
|
||||||
push @defs, "ZLIB" unless $disabled{zlib};
|
push @defs, "ZLIB" unless $disabled{zlib};
|
||||||
push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
|
push @defs, "ZLIB_SHARED" unless $disabled{"zlib-dynamic"};
|
||||||
return [ @defs ];
|
return [ @defs ];
|
||||||
|
|||||||
@@ -18,9 +18,6 @@
|
|||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
#include <openssl/asn1t.h>
|
#include <openssl/asn1t.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_OBJECT)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_INFORM, OPT_IN, OPT_OUT, OPT_INDENT, OPT_NOOUT,
|
OPT_INFORM, OPT_IN, OPT_OUT, OPT_INDENT, OPT_NOOUT,
|
||||||
|
|||||||
@@ -34,11 +34,6 @@
|
|||||||
#include "apps.h"
|
#include "apps.h"
|
||||||
#include "progs.h"
|
#include "progs.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#ifndef W_OK
|
#ifndef W_OK
|
||||||
# define F_OK 0
|
# define F_OK 0
|
||||||
# define W_OK 2
|
# define W_OK 2
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_CONST(SSL_CIPHER)
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_STDNAME,
|
OPT_STDNAME,
|
||||||
|
|||||||
@@ -15,10 +15,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/cmperr.h>
|
#include <openssl/cmperr.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
|
|
||||||
/* the context for the CMP mock server */
|
/* the context for the CMP mock server */
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -23,12 +23,6 @@
|
|||||||
# include <openssl/x509v3.h>
|
# include <openssl/x509v3.h>
|
||||||
# include <openssl/cms.h>
|
# include <openssl/cms.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(CMS_SignerInfo)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAME)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAMES)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
static int save_certs(char *signerfile, STACK_OF(X509) *signers);
|
static int save_certs(char *signerfile, STACK_OF(X509) *signers);
|
||||||
static int cms_cb(int ok, X509_STORE_CTX *ctx);
|
static int cms_cb(int ok, X509_STORE_CTX *ctx);
|
||||||
static void receipt_request_print(CMS_ContentInfo *cms);
|
static void receipt_request_print(CMS_ContentInfo *cms);
|
||||||
|
|||||||
@@ -19,11 +19,6 @@
|
|||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_INFO)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
|
static int add_certs_from_file(STACK_OF(X509) *stack, char *certfile);
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
#include <openssl/hmac.h>
|
#include <openssl/hmac.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#undef BUFSIZE
|
#undef BUFSIZE
|
||||||
#define BUFSIZE 1024*8
|
#define BUFSIZE 1024*8
|
||||||
|
|
||||||
|
|||||||
@@ -19,9 +19,6 @@
|
|||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#include <openssl/store.h>
|
#include <openssl/store.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
DEFINE_STACK_OF_CSTRING()
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_C, OPT_T, OPT_TT, OPT_PRE, OPT_POST,
|
OPT_C, OPT_T, OPT_TT, OPT_PRE, OPT_POST,
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
#include "apps.h"
|
#include "apps.h"
|
||||||
#include "progs.h"
|
#include "progs.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#define BUFSIZE 4096
|
#define BUFSIZE 4096
|
||||||
#define DEFAULT_MAC_NAME "HMAC"
|
#define DEFAULT_MAC_NAME "HMAC"
|
||||||
#define DEFAULT_FIPS_SECTION "fips_check_section"
|
#define DEFAULT_FIPS_SECTION "fips_check_section"
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
#include <openssl/kdf.h>
|
#include <openssl/kdf.h>
|
||||||
#include <openssl/params.h>
|
#include <openssl/params.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_KDFOPT, OPT_BIN, OPT_KEYLEN, OPT_OUT,
|
OPT_KDFOPT, OPT_BIN, OPT_KEYLEN, OPT_OUT,
|
||||||
|
|||||||
@@ -57,17 +57,6 @@ static int WIN32_rename(const char *from, const char *to);
|
|||||||
|
|
||||||
#define PASS_SOURCE_SIZE_MAX 4
|
#define PASS_SOURCE_SIZE_MAX 4
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509_INFO)
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(X509_POLICY_NODE)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAME)
|
|
||||||
DEFINE_STACK_OF(DIST_POINT)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
const char *name;
|
const char *name;
|
||||||
unsigned long flag;
|
unsigned long flag;
|
||||||
|
|||||||
@@ -12,8 +12,6 @@
|
|||||||
#include <openssl/safestack.h>
|
#include <openssl/safestack.h>
|
||||||
#include "names.h"
|
#include "names.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF_CSTRING()
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define strcasecmp _stricmp
|
# define strcasecmp _stricmp
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -26,11 +26,6 @@
|
|||||||
|
|
||||||
#define COOKIE_SECRET_LENGTH 16
|
#define COOKIE_SECRET_LENGTH 16
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509_NAME)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
VERIFY_CB_ARGS verify_args = { -1, 0, X509_V_OK, 0 };
|
VERIFY_CB_ARGS verify_args = { -1, 0, X509_V_OK, 0 };
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_SOCK
|
#ifndef OPENSSL_NO_SOCK
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#include "opt.h"
|
#include "opt.h"
|
||||||
#include "names.h"
|
#include "names.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF_CSTRING()
|
|
||||||
|
|
||||||
static int verbose = 0;
|
static int verbose = 0;
|
||||||
|
|
||||||
static void legacy_cipher_fn(const EVP_CIPHER *c,
|
static void legacy_cipher_fn(const EVP_CIPHER *c,
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <openssl/params.h>
|
#include <openssl/params.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#undef BUFSIZE
|
#undef BUFSIZE
|
||||||
#define BUFSIZE 1024*8
|
#define BUFSIZE 1024*8
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_TOSEQ, OPT_IN, OPT_OUT,
|
OPT_TOSEQ, OPT_IN, OPT_OUT,
|
||||||
|
|||||||
@@ -33,11 +33,6 @@
|
|||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OCSP_CERTID)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#ifndef HAVE_FORK
|
#ifndef HAVE_FORK
|
||||||
# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS)
|
# if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS)
|
||||||
# define HAVE_FORK 0
|
# define HAVE_FORK 0
|
||||||
|
|||||||
@@ -19,12 +19,6 @@
|
|||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
#include <openssl/pkcs12.h>
|
#include <openssl/pkcs12.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(PKCS7)
|
|
||||||
DEFINE_STACK_OF(PKCS12_SAFEBAG)
|
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#define NOKEYS 0x1
|
#define NOKEYS 0x1
|
||||||
#define NOCERTS 0x2
|
#define NOCERTS 0x2
|
||||||
#define INFO 0x4
|
#define INFO 0x4
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
#include <openssl/pkcs7.h>
|
#include <openssl/pkcs7.h>
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_INFORM, OPT_OUTFORM, OPT_IN, OPT_OUT, OPT_NOOUT,
|
OPT_INFORM, OPT_OUTFORM, OPT_IN, OPT_OUT, OPT_NOOUT,
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#define KEY_NONE 0
|
#define KEY_NONE 0
|
||||||
#define KEY_PRIVKEY 1
|
#define KEY_PRIVKEY 1
|
||||||
#define KEY_PUBKEY 2
|
#define KEY_PUBKEY 2
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
#include <openssl/core.h>
|
#include <openssl/core.h>
|
||||||
#include <openssl/core_numbers.h>
|
#include <openssl/core_numbers.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF_CSTRING()
|
|
||||||
|
|
||||||
typedef enum OPTION_choice {
|
typedef enum OPTION_choice {
|
||||||
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
OPT_ERR = -1, OPT_EOF = 0, OPT_HELP,
|
||||||
OPT_V = 100, OPT_VV, OPT_VVV
|
OPT_V = 100, OPT_VV, OPT_VVV
|
||||||
|
|||||||
@@ -42,8 +42,6 @@
|
|||||||
# include <openssl/pem.h>
|
# include <openssl/pem.h>
|
||||||
# include <openssl/x509.h>
|
# include <openssl/x509.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_INFO)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
# ifndef PATH_MAX
|
# ifndef PATH_MAX
|
||||||
# define PATH_MAX 4096
|
# define PATH_MAX 4096
|
||||||
|
|||||||
@@ -32,8 +32,6 @@
|
|||||||
# include <openssl/dsa.h>
|
# include <openssl/dsa.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#define BITS "default_bits"
|
#define BITS "default_bits"
|
||||||
#define KEYFILE "default_keyfile"
|
#define KEYFILE "default_keyfile"
|
||||||
|
|||||||
@@ -56,12 +56,6 @@ typedef unsigned int u_int;
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509_NAME)
|
|
||||||
DEFINE_STACK_OF(SCT)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#undef BUFSIZZ
|
#undef BUFSIZZ
|
||||||
#define BUFSIZZ 1024*8
|
#define BUFSIZZ 1024*8
|
||||||
#define S_CLIENT_IRC_READ_TIMEOUT 8
|
#define S_CLIENT_IRC_READ_TIMEOUT 8
|
||||||
|
|||||||
@@ -60,12 +60,6 @@ typedef unsigned int u_int;
|
|||||||
#endif
|
#endif
|
||||||
#include "internal/sockets.h"
|
#include "internal/sockets.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(SSL_CIPHER)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
static int not_resumable_sess_cb(SSL *s, int is_forward_secure);
|
static int not_resumable_sess_cb(SSL *s, int is_forward_secure);
|
||||||
static int sv_body(int s, int stype, int prot, unsigned char *context);
|
static int sv_body(int s, int stype, int prot, unsigned char *context);
|
||||||
static int www_body(int s, int stype, int prot, unsigned char *context);
|
static int www_body(int s, int stype, int prot, unsigned char *context);
|
||||||
|
|||||||
@@ -19,9 +19,6 @@
|
|||||||
#include <openssl/x509_vfy.h>
|
#include <openssl/x509_vfy.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
static int save_certs(char *signerfile, STACK_OF(X509) *signers);
|
static int save_certs(char *signerfile, STACK_OF(X509) *signers);
|
||||||
static int smime_cb(int ok, X509_STORE_CTX *ctx);
|
static int smime_cb(int ok, X509_STORE_CTX *ctx);
|
||||||
|
|
||||||
|
|||||||
@@ -18,10 +18,6 @@
|
|||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
static int cb(int ok, X509_STORE_CTX *ctx);
|
static int cb(int ok, X509_STORE_CTX *ctx);
|
||||||
static int check(X509_STORE *ctx, const char *file,
|
static int check(X509_STORE *ctx, const char *file,
|
||||||
STACK_OF(X509) *uchain, STACK_OF(X509) *tchain,
|
STACK_OF(X509) *uchain, STACK_OF(X509) *tchain,
|
||||||
|
|||||||
@@ -28,10 +28,6 @@
|
|||||||
# include <openssl/dsa.h>
|
# include <openssl/dsa.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_OBJECT)
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
#undef POSTFIX
|
#undef POSTFIX
|
||||||
#define POSTFIX ".srl"
|
#define POSTFIX ".srl"
|
||||||
#define DEF_DAYS 30
|
#define DEF_DAYS 30
|
||||||
|
|||||||
@@ -12,8 +12,6 @@
|
|||||||
#include <openssl/asn1.h>
|
#include <openssl/asn1.h>
|
||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_STRING_TABLE)
|
|
||||||
|
|
||||||
static STACK_OF(ASN1_STRING_TABLE) *stable = NULL;
|
static STACK_OF(ASN1_STRING_TABLE) *stable = NULL;
|
||||||
static void st_free(ASN1_STRING_TABLE *tbl);
|
static void st_free(ASN1_STRING_TABLE *tbl);
|
||||||
static int sk_table_cmp(const ASN1_STRING_TABLE *const *a,
|
static int sk_table_cmp(const ASN1_STRING_TABLE *const *a,
|
||||||
|
|||||||
@@ -23,9 +23,6 @@
|
|||||||
|
|
||||||
#define ASN1_GEN_STR(str,val) {str, sizeof(str) - 1, val}
|
#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
|
#define ASN1_FLAG_EXP_MAX 20
|
||||||
/* Maximum number of nested sequences */
|
/* Maximum number of nested sequences */
|
||||||
#define ASN1_GEN_SEQ_MAX_DEPTH 50
|
#define ASN1_GEN_SEQ_MAX_DEPTH 50
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
#include <openssl/asn1.h>
|
#include <openssl/asn1.h>
|
||||||
#include "asn1_local.h"
|
#include "asn1_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
|
|
||||||
static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
|
static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
|
||||||
long max);
|
long max);
|
||||||
static void asn1_put_length(unsigned char **pp, int length);
|
static void asn1_put_length(unsigned char **pp, int length);
|
||||||
|
|||||||
@@ -18,9 +18,6 @@
|
|||||||
#include "internal/bio.h"
|
#include "internal/bio.h"
|
||||||
#include "asn1_local.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
|
* Generalised MIME like utilities for streaming ASN1. Although many have a
|
||||||
* PKCS7/CMS like flavour others are more general purpose.
|
* PKCS7/CMS like flavour others are more general purpose.
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
#include "crypto/objects.h"
|
#include "crypto/objects.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/* Simple ASN1 OID module: add all objects in a given section */
|
/* Simple ASN1 OID module: add all objects in a given section */
|
||||||
|
|
||||||
static int do_create(const char *value, const char *name);
|
static int do_create(const char *value, const char *name);
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
/* Multi string module: add table entries from a given section */
|
/* Multi string module: add table entries from a given section */
|
||||||
|
|
||||||
static int do_tcreate(const char *value, const char *name);
|
static int do_tcreate(const char *value, const char *name);
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
#include "crypto/evp.h"
|
#include "crypto/evp.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_TYPE)
|
|
||||||
EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp,
|
EVP_PKEY *d2i_PrivateKey_ex(int type, EVP_PKEY **a, const unsigned char **pp,
|
||||||
long length, OPENSSL_CTX *libctx, const char *propq)
|
long length, OPENSSL_CTX *libctx, const char *propq)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
#include "internal/numbers.h"
|
#include "internal/numbers.h"
|
||||||
#include "asn1_local.h"
|
#include "asn1_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_VALUE)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Constructed types with a recursive definition (such as can be found in PKCS7)
|
* Constructed types with a recursive definition (such as can be found in PKCS7)
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
#include <openssl/objects.h>
|
#include <openssl/objects.h>
|
||||||
#include "asn1_local.h"
|
#include "asn1_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_VALUE)
|
|
||||||
|
|
||||||
/* Free up an ASN1 structure */
|
/* Free up an ASN1 structure */
|
||||||
|
|
||||||
void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
|
void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it)
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "asn1_local.h"
|
#include "asn1_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_VALUE)
|
|
||||||
|
|
||||||
static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
||||||
int embed);
|
int embed);
|
||||||
static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
#include <openssl/cmp.h>
|
#include <openssl/cmp.h>
|
||||||
#include <openssl/crmf.h>
|
#include <openssl/crmf.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
|
|
||||||
/* ASN.1 declarations from RFC4210 */
|
/* ASN.1 declarations from RFC4210 */
|
||||||
ASN1_SEQUENCE(OSSL_CMP_REVANNCONTENT) = {
|
ASN1_SEQUENCE(OSSL_CMP_REVANNCONTENT) = {
|
||||||
/* OSSL_CMP_PKISTATUS is effectively ASN1_INTEGER so it is used directly */
|
/* OSSL_CMP_PKISTATUS is effectively ASN1_INTEGER so it is used directly */
|
||||||
|
|||||||
@@ -21,12 +21,6 @@
|
|||||||
|
|
||||||
#include "openssl/cmp_util.h"
|
#include "openssl/cmp_util.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_CERTRESPONSE)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_PKISI)
|
|
||||||
DEFINE_STACK_OF(OSSL_CRMF_CERTID)
|
|
||||||
|
|
||||||
#define IS_CREP(t) ((t) == OSSL_CMP_PKIBODY_IP || (t) == OSSL_CMP_PKIBODY_CP \
|
#define IS_CREP(t) ((t) == OSSL_CMP_PKIBODY_IP || (t) == OSSL_CMP_PKIBODY_CP \
|
||||||
|| (t) == OSSL_CMP_PKIBODY_KUP)
|
|| (t) == OSSL_CMP_PKIBODY_KUP)
|
||||||
|
|
||||||
|
|||||||
+1
-10
@@ -20,16 +20,7 @@
|
|||||||
#include <openssl/crmf.h>
|
#include <openssl/crmf.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
/* Get current certificate store containing trusted root CA certs */
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(POLICYINFO)
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAME)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Get current certificate store containing trusted root CA certs
|
|
||||||
*/
|
|
||||||
X509_STORE *OSSL_CMP_CTX_get0_trustedStore(const OSSL_CMP_CTX *ctx)
|
X509_STORE *OSSL_CMP_CTX_get0_trustedStore(const OSSL_CMP_CTX *ctx)
|
||||||
{
|
{
|
||||||
if (ctx == NULL) {
|
if (ctx == NULL) {
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
#include <openssl/cmp.h>
|
#include <openssl/cmp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
|
|
||||||
int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno)
|
int ossl_cmp_hdr_set_pvno(OSSL_CMP_PKIHEADER *hdr, int pvno)
|
||||||
{
|
{
|
||||||
if (!ossl_assert(hdr != NULL))
|
if (!ossl_assert(hdr != NULL))
|
||||||
|
|||||||
@@ -28,8 +28,6 @@
|
|||||||
#include <openssl/cmp.h>
|
#include <openssl/cmp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Send the PKIMessage req and on success return the response, else NULL.
|
* 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().
|
* Any previous error queue entries will likely be removed by ERR_clear_error().
|
||||||
|
|||||||
@@ -20,16 +20,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_CERTSTATUS)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAME)
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_PKISI)
|
|
||||||
DEFINE_STACK_OF(OSSL_CRMF_MSG)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_CERTRESPONSE)
|
|
||||||
DEFINE_STACK_OF(OSSL_CRMF_CERTID)
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
|
|
||||||
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg)
|
OSSL_CMP_PKIHEADER *OSSL_CMP_MSG_get0_header(const OSSL_CMP_MSG *msg)
|
||||||
{
|
{
|
||||||
if (msg == NULL) {
|
if (msg == NULL) {
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function is also used for verification from cmp_vfy.
|
* This function is also used for verification from cmp_vfy.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -19,11 +19,6 @@
|
|||||||
#include <openssl/cmp.h>
|
#include <openssl/cmp.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OSSL_CRMF_MSG)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
|
||||||
DEFINE_STACK_OF(OSSL_CMP_CERTSTATUS)
|
|
||||||
|
|
||||||
/* the context for the generic CMP server */
|
/* the context for the generic CMP server */
|
||||||
struct ossl_cmp_srv_ctx_st
|
struct ossl_cmp_srv_ctx_st
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -26,8 +26,6 @@
|
|||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include <openssl/asn1err.h> /* for ASN1_R_TOO_SMALL and ASN1_R_TOO_LARGE */
|
#include <openssl/asn1err.h> /* for ASN1_R_TOO_SMALL and ASN1_R_TOO_LARGE */
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
|
|
||||||
/* CMP functions related to PKIStatus */
|
/* CMP functions related to PKIStatus */
|
||||||
|
|
||||||
int ossl_cmp_pkisi_get_status(const OSSL_CMP_PKISI *si)
|
int ossl_cmp_pkisi_get_status(const OSSL_CMP_PKISI *si)
|
||||||
|
|||||||
@@ -16,10 +16,6 @@
|
|||||||
#include <openssl/err.h> /* should be implied by cmperr.h */
|
#include <openssl/err.h> /* should be implied by cmperr.h */
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_OBJECT)
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* use trace API for CMP-specific logging, prefixed by "CMP " and severity
|
* use trace API for CMP-specific logging, prefixed by "CMP " and severity
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -22,8 +22,6 @@
|
|||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include "crypto/x509.h"
|
#include "crypto/x509.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Verify a message protected by signature according to section 5.1.3.3
|
* Verify a message protected by signature according to section 5.1.3.3
|
||||||
* (sha1+RSA/DSA or any other algorithm supported by OpenSSL).
|
* (sha1+RSA/DSA or any other algorithm supported by OpenSSL).
|
||||||
|
|||||||
@@ -18,10 +18,6 @@
|
|||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
#include "crypto/evp.h"
|
#include "crypto/evp.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_RecipientInfo)
|
|
||||||
DEFINE_STACK_OF(CMS_RevocationInfoChoice)
|
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
|
|
||||||
/* CMS EnvelopedData Utilities */
|
/* CMS EnvelopedData Utilities */
|
||||||
|
|
||||||
static void cms_env_set_version(CMS_EnvelopedData *env);
|
static void cms_env_set_version(CMS_EnvelopedData *env);
|
||||||
|
|||||||
@@ -19,9 +19,6 @@
|
|||||||
#include "crypto/ess.h"
|
#include "crypto/ess.h"
|
||||||
#include "crypto/cms.h"
|
#include "crypto/cms.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAMES)
|
|
||||||
DEFINE_STACK_OF(CMS_SignerInfo)
|
|
||||||
|
|
||||||
IMPLEMENT_ASN1_FUNCTIONS(CMS_ReceiptRequest)
|
IMPLEMENT_ASN1_FUNCTIONS(CMS_ReceiptRequest)
|
||||||
|
|
||||||
/* ESS services */
|
/* ESS services */
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
#include "cms_local.h"
|
#include "cms_local.h"
|
||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
|
|
||||||
|
|
||||||
/* Key Agreement Recipient Info (KARI) routines */
|
/* Key Agreement Recipient Info (KARI) routines */
|
||||||
|
|
||||||
int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,
|
int CMS_RecipientInfo_kari_get0_alg(CMS_RecipientInfo *ri,
|
||||||
|
|||||||
@@ -16,10 +16,6 @@
|
|||||||
#include <openssl/cms.h>
|
#include <openssl/cms.h>
|
||||||
#include "cms_local.h"
|
#include "cms_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_RevocationInfoChoice)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
|
|
||||||
IMPLEMENT_ASN1_FUNCTIONS(CMS_ContentInfo)
|
IMPLEMENT_ASN1_FUNCTIONS(CMS_ContentInfo)
|
||||||
IMPLEMENT_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
|
IMPLEMENT_ASN1_PRINT_FUNCTION(CMS_ContentInfo)
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
#include "cms_local.h"
|
#include "cms_local.h"
|
||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_RecipientInfo)
|
|
||||||
|
|
||||||
int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,
|
int CMS_RecipientInfo_set0_password(CMS_RecipientInfo *ri,
|
||||||
unsigned char *pass, ossl_ssize_t passlen)
|
unsigned char *pass, ossl_ssize_t passlen)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,12 +21,6 @@
|
|||||||
#include "crypto/cms.h"
|
#include "crypto/cms.h"
|
||||||
#include "crypto/ess.h"
|
#include "crypto/ess.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_RevocationInfoChoice)
|
|
||||||
DEFINE_STACK_OF(CMS_SignerInfo)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_ALGOR)
|
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
|
|
||||||
/* CMS SignedData Utilities */
|
/* CMS SignedData Utilities */
|
||||||
|
|
||||||
static CMS_SignedData *cms_get0_signed(CMS_ContentInfo *cms)
|
static CMS_SignedData *cms_get0_signed(CMS_ContentInfo *cms)
|
||||||
|
|||||||
@@ -16,12 +16,6 @@
|
|||||||
#include "cms_local.h"
|
#include "cms_local.h"
|
||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CMS_SignerInfo)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(CMS_RecipientEncryptedKey)
|
|
||||||
DEFINE_STACK_OF(CMS_RecipientInfo)
|
|
||||||
|
|
||||||
static BIO *cms_get_text_bio(BIO *out, unsigned int flags)
|
static BIO *cms_get_text_bio(BIO *out, unsigned int flags)
|
||||||
{
|
{
|
||||||
BIO *rbio;
|
BIO *rbio;
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
#include <openssl/conf_api.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_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf);
|
||||||
static void value_free_stack_doall(CONF_VALUE *a);
|
static void value_free_stack_doall(CONF_VALUE *a);
|
||||||
|
|
||||||
|
|||||||
@@ -27,8 +27,6 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DEFINE_STACK_OF(BIO)
|
|
||||||
|
|
||||||
#ifndef S_ISDIR
|
#ifndef S_ISDIR
|
||||||
# define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
|
# define S_ISDIR(a) (((a) & S_IFMT) == S_IFDIR)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -18,10 +18,6 @@
|
|||||||
#include <openssl/trace.h>
|
#include <openssl/trace.h>
|
||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
DEFINE_STACK_OF(CONF_MODULE)
|
|
||||||
DEFINE_STACK_OF(CONF_IMODULE)
|
|
||||||
|
|
||||||
#define DSO_mod_init_name "OPENSSL_init"
|
#define DSO_mod_init_name "OPENSSL_init"
|
||||||
#define DSO_mod_finish_name "OPENSSL_finish"
|
#define DSO_mod_finish_name "OPENSSL_finish"
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
#include "internal/sslconf.h"
|
#include "internal/sslconf.h"
|
||||||
#include "conf_local.h"
|
#include "conf_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SSL library configuration module placeholder. We load it here but defer
|
* SSL library configuration module placeholder. We load it here but defer
|
||||||
* all decisions about its contents to libssl.
|
* all decisions about its contents to libssl.
|
||||||
|
|||||||
@@ -36,9 +36,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <openssl/evp.h>
|
#include <openssl/evp.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(OSSL_CRMF_MSG)
|
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* atyp = Attribute Type
|
* atyp = Attribute Type
|
||||||
* valt = Value Type
|
* valt = Value Type
|
||||||
|
|||||||
@@ -18,8 +18,6 @@
|
|||||||
|
|
||||||
#include "internal/cryptlib.h"
|
#include "internal/cryptlib.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CTLOG)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Information about a CT log server.
|
* Information about a CT log server.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
|
|
||||||
#include "ct_local.h"
|
#include "ct_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(SCT)
|
|
||||||
|
|
||||||
int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
|
int o2i_SCT_signature(SCT *sct, const unsigned char **in, size_t len)
|
||||||
{
|
{
|
||||||
size_t siglen;
|
size_t siglen;
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
#include "ct_local.h"
|
#include "ct_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(SCT)
|
|
||||||
|
|
||||||
static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
|
static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
|
||||||
{
|
{
|
||||||
int nid = SCT_get_signature_nid(sct);
|
int nid = SCT_get_signature_nid(sct);
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
|
|
||||||
#include "ct_local.h"
|
#include "ct_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(SCT)
|
|
||||||
|
|
||||||
SCT *SCT_new(void)
|
SCT *SCT_new(void)
|
||||||
{
|
{
|
||||||
SCT *sct = OPENSSL_zalloc(sizeof(*sct));
|
SCT *sct = OPENSSL_zalloc(sizeof(*sct));
|
||||||
|
|||||||
@@ -13,8 +13,6 @@
|
|||||||
|
|
||||||
#include "ct_local.h"
|
#include "ct_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(SCT)
|
|
||||||
|
|
||||||
static char *i2s_poison(const X509V3_EXT_METHOD *method, void *val)
|
static char *i2s_poison(const X509V3_EXT_METHOD *method, void *val)
|
||||||
{
|
{
|
||||||
return OPENSSL_strdup("NULL");
|
return OPENSSL_strdup("NULL");
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
#include "dso_local.h"
|
#include "dso_local.h"
|
||||||
#include "e_os.h"
|
#include "e_os.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(void)
|
|
||||||
|
|
||||||
#ifdef DSO_DLFCN
|
#ifdef DSO_DLFCN
|
||||||
|
|
||||||
# ifdef HAVE_DLFCN_H
|
# ifdef HAVE_DLFCN_H
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
#include "dso_local.h"
|
#include "dso_local.h"
|
||||||
#include "internal/refcount.h"
|
#include "internal/refcount.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(void)
|
|
||||||
|
|
||||||
static DSO_METHOD *default_DSO_meth = NULL;
|
static DSO_METHOD *default_DSO_meth = NULL;
|
||||||
|
|
||||||
static DSO *DSO_new_method(DSO_METHOD *meth)
|
static DSO *DSO_new_method(DSO_METHOD *meth)
|
||||||
|
|||||||
@@ -69,8 +69,6 @@ static void *win32_globallookup(const char *name);
|
|||||||
|
|
||||||
static const char *openssl_strnchr(const char *string, int c, size_t len);
|
static const char *openssl_strnchr(const char *string, int c, size_t len);
|
||||||
|
|
||||||
DEFINE_STACK_OF(void)
|
|
||||||
|
|
||||||
static DSO_METHOD dso_meth_win32 = {
|
static DSO_METHOD dso_meth_win32 = {
|
||||||
"OpenSSL 'win32' shared library method",
|
"OpenSSL 'win32' shared library method",
|
||||||
win32_load,
|
win32_load,
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
#include <openssl/conf.h>
|
#include <openssl/conf.h>
|
||||||
#include <openssl/trace.h>
|
#include <openssl/trace.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/* ENGINE config module */
|
/* ENGINE config module */
|
||||||
|
|
||||||
static const char *skip_dot(const char *name)
|
static const char *skip_dot(const char *name)
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
* prototypes.
|
* prototypes.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
DEFINE_STACK_OF_STRING()
|
|
||||||
|
|
||||||
/* Our ENGINE handlers */
|
/* Our ENGINE handlers */
|
||||||
static int dynamic_init(ENGINE *e);
|
static int dynamic_init(ENGINE *e);
|
||||||
static int dynamic_finish(ENGINE *e);
|
static int dynamic_finish(ENGINE *e);
|
||||||
|
|||||||
@@ -13,11 +13,6 @@
|
|||||||
#include <openssl/ess.h>
|
#include <openssl/ess.h>
|
||||||
#include "crypto/ess.h"
|
#include "crypto/ess.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ESS_CERT_ID)
|
|
||||||
DEFINE_STACK_OF(ESS_CERT_ID_V2)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(GENERAL_NAME)
|
|
||||||
|
|
||||||
static ESS_CERT_ID *ESS_CERT_ID_new_init(X509 *cert, int issuer_needed);
|
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,
|
static ESS_CERT_ID_V2 *ESS_CERT_ID_V2_new_init(const EVP_MD *hash_alg,
|
||||||
X509 *cert, int issuer_needed);
|
X509 *cert, int issuer_needed);
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
#include <openssl/trace.h>
|
#include <openssl/trace.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/* Algorithm configuration module. */
|
/* Algorithm configuration module. */
|
||||||
|
|
||||||
/* TODO(3.0): the config module functions should be passed a library context */
|
/* TODO(3.0): the config module functions should be passed a library context */
|
||||||
|
|||||||
@@ -36,7 +36,6 @@
|
|||||||
#include "internal/evp.h"
|
#include "internal/evp.h"
|
||||||
#include "internal/provider.h"
|
#include "internal/provider.h"
|
||||||
#include "evp_local.h"
|
#include "evp_local.h"
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
|
|
||||||
#include "crypto/ec.h"
|
#include "crypto/ec.h"
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
#include "crypto/cryptlib.h"
|
#include "crypto/cryptlib.h"
|
||||||
#include "internal/thread_once.h"
|
#include "internal/thread_once.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(void)
|
|
||||||
|
|
||||||
int do_ex_data_init(OPENSSL_CTX *ctx)
|
int do_ex_data_init(OPENSSL_CTX *ctx)
|
||||||
{
|
{
|
||||||
OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data_global(ctx);
|
OSSL_EX_DATA_GLOBAL *global = openssl_ctx_get_ex_data_global(ctx);
|
||||||
|
|||||||
@@ -25,8 +25,6 @@
|
|||||||
|
|
||||||
#include "http_local.h"
|
#include "http_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
#define HTTP_PREFIX "HTTP/"
|
#define HTTP_PREFIX "HTTP/"
|
||||||
#define HTTP_VERSION_PATT "1." /* allow 1.x */
|
#define HTTP_VERSION_PATT "1." /* allow 1.x */
|
||||||
#define HTTP_VERSION_STR_LEN 3
|
#define HTTP_VERSION_STR_LEN 3
|
||||||
|
|||||||
@@ -18,10 +18,6 @@
|
|||||||
#include <openssl/ocsp.h>
|
#include <openssl/ocsp.h>
|
||||||
#include "ocsp_local.h"
|
#include "ocsp_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OCSP_ONEREQ)
|
|
||||||
DEFINE_STACK_OF(OCSP_SINGLERESP)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions related to sending OCSP requests and extracting relevant
|
* Utility functions related to sending OCSP requests and extracting relevant
|
||||||
* information from the response.
|
* information from the response.
|
||||||
|
|||||||
@@ -16,9 +16,6 @@
|
|||||||
#include <openssl/rand.h>
|
#include <openssl/rand.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_OBJECT)
|
|
||||||
DEFINE_STACK_OF(ACCESS_DESCRIPTION)
|
|
||||||
|
|
||||||
/* Standard wrapper functions for extensions */
|
/* Standard wrapper functions for extensions */
|
||||||
|
|
||||||
/* OCSP request extensions */
|
/* OCSP request extensions */
|
||||||
|
|||||||
@@ -14,10 +14,6 @@
|
|||||||
#include "internal/cryptlib.h"
|
#include "internal/cryptlib.h"
|
||||||
#include <openssl/pem.h>
|
#include <openssl/pem.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OCSP_ONEREQ)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OCSP_SINGLERESP)
|
|
||||||
|
|
||||||
static int ocsp_certid_print(BIO *bp, OCSP_CERTID *a, int indent)
|
static int ocsp_certid_print(BIO *bp, OCSP_CERTID *a, int indent)
|
||||||
{
|
{
|
||||||
BIO_printf(bp, "%*sCertificate ID:\n", indent, "");
|
BIO_printf(bp, "%*sCertificate ID:\n", indent, "");
|
||||||
|
|||||||
@@ -16,10 +16,6 @@
|
|||||||
#include <openssl/ocsp.h>
|
#include <openssl/ocsp.h>
|
||||||
#include "ocsp_local.h"
|
#include "ocsp_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(OCSP_ONEREQ)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OCSP_SINGLERESP)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Utility functions related to sending OCSP responses and extracting
|
* Utility functions related to sending OCSP responses and extracting
|
||||||
* relevant information from the request.
|
* relevant information from the request.
|
||||||
|
|||||||
@@ -12,10 +12,6 @@
|
|||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(OCSP_ONEREQ)
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(OCSP_SINGLERESP)
|
|
||||||
|
|
||||||
static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
|
static int ocsp_find_signer(X509 **psigner, OCSP_BASICRESP *bs,
|
||||||
STACK_OF(X509) *certs, unsigned long flags);
|
STACK_OF(X509) *certs, unsigned long flags);
|
||||||
static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
|
static X509 *ocsp_find_signer_sk(STACK_OF(X509) *certs, OCSP_RESPID *id);
|
||||||
|
|||||||
@@ -16,8 +16,6 @@
|
|||||||
# include <openssl/x509v3.h>
|
# include <openssl/x509v3.h>
|
||||||
# include "../x509/ext_dat.h"
|
# include "../x509/ext_dat.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ACCESS_DESCRIPTION)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* OCSP extensions and a couple of CRL entry extensions
|
* OCSP extensions and a couple of CRL entry extensions
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -23,8 +23,6 @@
|
|||||||
#include <openssl/rsa.h>
|
#include <openssl/rsa.h>
|
||||||
#include <openssl/dsa.h>
|
#include <openssl/dsa.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_INFO)
|
|
||||||
|
|
||||||
#ifndef OPENSSL_NO_STDIO
|
#ifndef OPENSSL_NO_STDIO
|
||||||
STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
|
STACK_OF(X509_INFO) *PEM_X509_INFO_read(FILE *fp, STACK_OF(X509_INFO) *sk,
|
||||||
pem_password_cb *cb, void *u)
|
pem_password_cb *cb, void *u)
|
||||||
|
|||||||
@@ -12,10 +12,6 @@
|
|||||||
#include <openssl/pkcs12.h>
|
#include <openssl/pkcs12.h>
|
||||||
#include "p12_local.h"
|
#include "p12_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(PKCS7)
|
|
||||||
DEFINE_STACK_OF(PKCS12_SAFEBAG)
|
|
||||||
|
|
||||||
static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags,
|
static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags,
|
||||||
PKCS12_SAFEBAG *bag);
|
PKCS12_SAFEBAG *bag);
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,6 @@
|
|||||||
#include "internal/cryptlib.h"
|
#include "internal/cryptlib.h"
|
||||||
#include <openssl/pkcs12.h>
|
#include <openssl/pkcs12.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(PKCS7)
|
|
||||||
DEFINE_STACK_OF(PKCS12_SAFEBAG)
|
|
||||||
|
|
||||||
/* Simplified PKCS#12 routines */
|
/* Simplified PKCS#12 routines */
|
||||||
|
|
||||||
static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
|
static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
|
||||||
|
|||||||
@@ -15,9 +15,6 @@
|
|||||||
#include <openssl/pkcs12.h>
|
#include <openssl/pkcs12.h>
|
||||||
#include "p12_local.h"
|
#include "p12_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(PKCS7)
|
|
||||||
DEFINE_STACK_OF(PKCS12_SAFEBAG)
|
|
||||||
|
|
||||||
/* PKCS#12 password change routine */
|
/* PKCS#12 password change routine */
|
||||||
|
|
||||||
static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass);
|
static int newpass_p12(PKCS12 *p12, const char *oldpass, const char *newpass);
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_ALGOR)
|
|
||||||
|
|
||||||
int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si,
|
int PKCS7_add_attrib_smimecap(PKCS7_SIGNER_INFO *si,
|
||||||
STACK_OF(X509_ALGOR) *cap)
|
STACK_OF(X509_ALGOR) *cap)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -15,11 +15,6 @@
|
|||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
#include <openssl/err.h>
|
#include <openssl/err.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_ALGOR)
|
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
DEFINE_STACK_OF(PKCS7_RECIP_INFO)
|
|
||||||
DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
|
|
||||||
|
|
||||||
static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype,
|
static int add_attribute(STACK_OF(X509_ATTRIBUTE) **sk, int nid, int atrtype,
|
||||||
void *value);
|
void *value);
|
||||||
static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid);
|
static ASN1_TYPE *get_attribute(STACK_OF(X509_ATTRIBUTE) *sk, int nid);
|
||||||
|
|||||||
@@ -14,12 +14,6 @@
|
|||||||
#include "crypto/asn1.h"
|
#include "crypto/asn1.h"
|
||||||
#include "crypto/evp.h"
|
#include "crypto/evp.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_CRL)
|
|
||||||
DEFINE_STACK_OF(X509_ALGOR)
|
|
||||||
DEFINE_STACK_OF(PKCS7_RECIP_INFO)
|
|
||||||
DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
|
|
||||||
|
|
||||||
long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg)
|
long PKCS7_ctrl(PKCS7 *p7, int cmd, long larg, char *parg)
|
||||||
{
|
{
|
||||||
int nid;
|
int nid;
|
||||||
|
|||||||
@@ -14,12 +14,8 @@
|
|||||||
#include <openssl/x509.h>
|
#include <openssl/x509.h>
|
||||||
#include <openssl/x509v3.h>
|
#include <openssl/x509v3.h>
|
||||||
|
|
||||||
#define BUFFERSIZE 4096
|
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
#define BUFFERSIZE 4096
|
||||||
DEFINE_STACK_OF(X509_ATTRIBUTE)
|
|
||||||
DEFINE_STACK_OF(X509_ALGOR)
|
|
||||||
DEFINE_STACK_OF(PKCS7_SIGNER_INFO)
|
|
||||||
|
|
||||||
static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
|
static int pkcs7_copy_existing_digest(PKCS7 *p7, PKCS7_SIGNER_INFO *si);
|
||||||
|
|
||||||
|
|||||||
@@ -14,11 +14,9 @@
|
|||||||
#include <openssl/safestack.h>
|
#include <openssl/safestack.h>
|
||||||
#include "internal/provider.h"
|
#include "internal/provider.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(OSSL_PROVIDER)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/* PROVIDER config module */
|
/* PROVIDER config module */
|
||||||
|
|
||||||
|
DEFINE_STACK_OF(OSSL_PROVIDER)
|
||||||
static STACK_OF(OSSL_PROVIDER) *activated_providers = NULL;
|
static STACK_OF(OSSL_PROVIDER) *activated_providers = NULL;
|
||||||
|
|
||||||
static const char *skip_dot(const char *name)
|
static const char *skip_dot(const char *name)
|
||||||
|
|||||||
@@ -25,10 +25,6 @@
|
|||||||
# define SRP_RANDOM_SALT_LEN 20
|
# define SRP_RANDOM_SALT_LEN 20
|
||||||
# define MAX_LEN 2500
|
# define MAX_LEN 2500
|
||||||
|
|
||||||
DEFINE_STACK_OF(SRP_user_pwd)
|
|
||||||
DEFINE_STACK_OF(SRP_gN_cache)
|
|
||||||
DEFINE_STACK_OF(SRP_gN)
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Note that SRP uses its own variant of base 64 encoding. A different base64
|
* Note that SRP uses its own variant of base 64 encoding. A different base64
|
||||||
* alphabet is used and no padding '=' characters are added. Instead we pad to
|
* alphabet is used and no padding '=' characters are added. Instead we pad to
|
||||||
|
|||||||
@@ -32,8 +32,6 @@
|
|||||||
#include "crypto/evp.h"
|
#include "crypto/evp.h"
|
||||||
#include "store_local.h"
|
#include "store_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
# define stat _stat
|
# define stat _stat
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -15,10 +15,6 @@
|
|||||||
#include <openssl/engine.h>
|
#include <openssl/engine.h>
|
||||||
#include <openssl/ts.h>
|
#include <openssl/ts.h>
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_INFO)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
/* Macro definitions for the configuration file. */
|
/* Macro definitions for the configuration file. */
|
||||||
#define BASE_SECTION "tsa"
|
#define BASE_SECTION "tsa"
|
||||||
#define ENV_DEFAULT_TSA "default_tsa"
|
#define ENV_DEFAULT_TSA "default_tsa"
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
#include <openssl/ts.h>
|
#include <openssl/ts.h>
|
||||||
#include "ts_local.h"
|
#include "ts_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
|
|
||||||
int TS_REQ_set_version(TS_REQ *a, long version)
|
int TS_REQ_set_version(TS_REQ *a, long version)
|
||||||
{
|
{
|
||||||
return ASN1_INTEGER_set(a->version, version);
|
return ASN1_INTEGER_set(a->version, version);
|
||||||
|
|||||||
@@ -15,9 +15,6 @@
|
|||||||
#include <openssl/ts.h>
|
#include <openssl/ts.h>
|
||||||
#include "ts_local.h"
|
#include "ts_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
DEFINE_STACK_OF(CONF_VALUE)
|
|
||||||
|
|
||||||
struct status_map_st {
|
struct status_map_st {
|
||||||
int bit;
|
int bit;
|
||||||
const char *text;
|
const char *text;
|
||||||
|
|||||||
@@ -17,12 +17,6 @@
|
|||||||
#include "ts_local.h"
|
#include "ts_local.h"
|
||||||
#include "crypto/ess.h"
|
#include "crypto/ess.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509)
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
|
||||||
DEFINE_STACK_OF(ASN1_OBJECT)
|
|
||||||
DEFINE_STACK_OF_CONST(EVP_MD)
|
|
||||||
|
|
||||||
static ASN1_INTEGER *def_serial_cb(struct TS_resp_ctx *, void *);
|
static ASN1_INTEGER *def_serial_cb(struct TS_resp_ctx *, void *);
|
||||||
static int def_time_cb(struct TS_resp_ctx *, void *, long *sec, long *usec);
|
static int def_time_cb(struct TS_resp_ctx *, void *, long *sec, long *usec);
|
||||||
static int def_extension_cb(struct TS_resp_ctx *, X509_EXTENSION *, void *);
|
static int def_extension_cb(struct TS_resp_ctx *, X509_EXTENSION *, void *);
|
||||||
|
|||||||
@@ -14,8 +14,6 @@
|
|||||||
#include <openssl/pkcs7.h>
|
#include <openssl/pkcs7.h>
|
||||||
#include "ts_local.h"
|
#include "ts_local.h"
|
||||||
|
|
||||||
DEFINE_STACK_OF(X509_EXTENSION)
|
|
||||||
|
|
||||||
int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *status_info)
|
int TS_RESP_set_status_info(TS_RESP *a, TS_STATUS_INFO *status_info)
|
||||||
{
|
{
|
||||||
TS_STATUS_INFO *new_status_info;
|
TS_STATUS_INFO *new_status_info;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user