Latest update.
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
#include "internal/nelem.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(SSL_CIPHER)
|
||||
|
||||
static SSL_CTX *ctx;
|
||||
static SSL *s;
|
||||
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
#include "internal/nelem.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF_CONST(SSL_CIPHER)
|
||||
|
||||
typedef struct cipherlist_test_fixture {
|
||||
const char *test_case_name;
|
||||
SSL_CTX *server;
|
||||
|
||||
@@ -22,8 +22,6 @@
|
||||
#include "internal/nelem.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(SSL_CIPHER)
|
||||
|
||||
typedef struct cipher_id_name {
|
||||
int id;
|
||||
const char *name;
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
|
||||
#ifndef NDEBUG /* tests need mock server, which is available only if !NDEBUG */
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
||||
|
||||
static const char *server_key_f;
|
||||
static const char *server_cert_f;
|
||||
static const char *client_key_f;
|
||||
|
||||
@@ -13,12 +13,6 @@
|
||||
|
||||
#include <openssl/x509_vfy.h>
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
||||
DEFINE_STACK_OF(X509_EXTENSION)
|
||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
||||
DEFINE_STACK_OF(POLICYINFO)
|
||||
|
||||
typedef struct test_fixture {
|
||||
const char *test_case_name;
|
||||
OSSL_CMP_CTX *ctx;
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
|
||||
DEFINE_STACK_OF(OSSL_CMP_ITAV)
|
||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
||||
|
||||
static unsigned char rand_data[OSSL_CMP_TRANSACTIONID_LENGTH];
|
||||
|
||||
typedef struct test_fixture {
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
|
||||
DEFINE_STACK_OF(OSSL_CMP_CERTRESPONSE)
|
||||
|
||||
static const char *server_cert_f;
|
||||
static const char *pkcs10_f;
|
||||
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
static const char *ir_protected_f;
|
||||
static const char *ir_unprotected_f;
|
||||
static const char *ip_PBM_f;
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
|
||||
DEFINE_STACK_OF(ASN1_UTF8STRING)
|
||||
|
||||
typedef struct test_fixture {
|
||||
const char *test_case_name;
|
||||
int pkistatus;
|
||||
|
||||
@@ -12,8 +12,6 @@
|
||||
#include "cmp_testlib.h"
|
||||
#include <openssl/rsa.h> /* needed in case config no-deprecated */
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
EVP_PKEY *load_pem_key(const char *file)
|
||||
{
|
||||
EVP_PKEY *key = NULL;
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include "cmp_testlib.h"
|
||||
#include "../crypto/crmf/crmf_local.h" /* for manipulating POPO signature */
|
||||
DEFINE_STACK_OF(OSSL_CRMF_MSG)
|
||||
|
||||
static const char *server_f;
|
||||
static const char *client_f;
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
static X509 *cert = NULL;
|
||||
static EVP_PKEY *privkey = NULL;
|
||||
|
||||
|
||||
@@ -14,9 +14,6 @@
|
||||
#include <openssl/safestack.h>
|
||||
#include <openssl/err.h>
|
||||
|
||||
DEFINE_STACK_OF(CONF_VALUE)
|
||||
DEFINE_STACK_OF_CSTRING()
|
||||
|
||||
static STACK_OF(OPENSSL_CSTRING) *section_names = NULL;
|
||||
|
||||
static void collect_section_name(CONF_VALUE *v)
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
DEFINE_STACK_OF(X509_CRL)
|
||||
|
||||
#define PARAM_TIME 1474934400 /* Sep 27th, 2016 */
|
||||
|
||||
static const char *kCRLTestRoot[] = {
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
#ifndef OPENSSL_NO_CT
|
||||
|
||||
DEFINE_STACK_OF(SCT)
|
||||
|
||||
/* Used when declaring buffers to read text files into */
|
||||
# define CT_TEST_MAX_FILE_SIZE 8096
|
||||
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
|
||||
#include "internal/nelem.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
#define _UC(c) ((unsigned char)(c))
|
||||
|
||||
static const char *basedomain;
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
/* for SSL_READ_ETM() */
|
||||
#include "../ssl/ssl_local.h"
|
||||
|
||||
DEFINE_STACK_OF(SSL_CIPHER)
|
||||
|
||||
static int debug = 0;
|
||||
|
||||
static unsigned int clnt_psk_callback(SSL *ssl, const char *hint,
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#include "testutil.h"
|
||||
#include "evp_test.h"
|
||||
|
||||
DEFINE_STACK_OF_STRING()
|
||||
|
||||
#define AAD_NUM 4
|
||||
|
||||
typedef struct evp_test_method_st EVP_TEST_METHOD;
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#include <netinet/sctp.h>
|
||||
#endif
|
||||
|
||||
DEFINE_STACK_OF(X509_NAME)
|
||||
|
||||
HANDSHAKE_RESULT *HANDSHAKE_RESULT_new(void)
|
||||
{
|
||||
HANDSHAKE_RESULT *ret;
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(CONF_VALUE)
|
||||
|
||||
static const ASN1_ITEM *x509_it = NULL;
|
||||
static X509 *x509 = NULL;
|
||||
#define SERVER "mock.server"
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
static const char *certstr;
|
||||
static const char *privkeystr;
|
||||
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "ssl_test_ctx.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(X509_NAME)
|
||||
|
||||
static CONF *conf = NULL;
|
||||
static OSSL_PROVIDER *defctxnull = NULL, *thisprov = NULL;
|
||||
static OPENSSL_CTX *libctx = NULL;
|
||||
|
||||
@@ -20,9 +20,6 @@
|
||||
# define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
DEFINE_STACK_OF(CONF_VALUE)
|
||||
DEFINE_STACK_OF(X509_NAME)
|
||||
|
||||
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;
|
||||
|
||||
@@ -37,10 +37,6 @@
|
||||
#include "internal/ktls.h"
|
||||
#include "../ssl/ssl_local.h"
|
||||
|
||||
DEFINE_STACK_OF(OCSP_RESPID)
|
||||
DEFINE_STACK_OF(X509)
|
||||
DEFINE_STACK_OF(X509_NAME)
|
||||
|
||||
static OPENSSL_CTX *libctx = NULL;
|
||||
static OSSL_PROVIDER *defctxnull = NULL;
|
||||
|
||||
@@ -5522,8 +5518,6 @@ static int test_pha_key_update(void)
|
||||
|
||||
static SRP_VBASE *vbase = NULL;
|
||||
|
||||
DEFINE_STACK_OF(SRP_user_pwd)
|
||||
|
||||
static int ssl_srp_cb(SSL *s, int *ad, void *arg)
|
||||
{
|
||||
int ret = SSL3_AL_FATAL;
|
||||
|
||||
@@ -11,8 +11,6 @@
|
||||
#include "ssltestlib.h"
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(SSL_CIPHER)
|
||||
|
||||
static int docorrupt = 0;
|
||||
|
||||
static void copy_flags(BIO *bio)
|
||||
|
||||
@@ -81,9 +81,6 @@
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
DEFINE_STACK_OF(SSL_COMP)
|
||||
DEFINE_STACK_OF_STRING()
|
||||
|
||||
static SSL_CTX *s_ctx = NULL;
|
||||
static SSL_CTX *s_ctx2 = NULL;
|
||||
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
# define strcasecmp _stricmp
|
||||
#endif
|
||||
|
||||
DEFINE_STACK_OF(GENERAL_NAME)
|
||||
|
||||
static const char *const names[] = {
|
||||
"a", "b", ".", "*", "@",
|
||||
".a", "a.", ".b", "b.", ".*", "*.", "*@", "@*", "a@", "@a", "b@", "..",
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include <openssl/err.h>
|
||||
#include "testutil.h"
|
||||
|
||||
DEFINE_STACK_OF(X509)
|
||||
|
||||
static const char *roots_f;
|
||||
static const char *untrusted_f;
|
||||
static const char *bad_f;
|
||||
|
||||
Reference in New Issue
Block a user