Loading crypto/asn1/ameth_lib.c +0 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,6 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { }; typedef int sk_cmp_fn_type(const char *const *a, const char *const *b); DEFINE_CONST_STACK_OF(EVP_PKEY_ASN1_METHOD) static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL; #ifdef TEST Loading crypto/asn1/asn1_locl.h +5 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,11 @@ struct asn1_sctx_st { void *app_data; } /* ASN1_SCTX */ ; typedef struct mime_param_st MIME_PARAM; DEFINE_STACK_OF(MIME_PARAM) typedef struct mime_header_st MIME_HEADER; DEFINE_STACK_OF(MIME_HEADER) /* Month values for printing out times */ extern const char *_asn1_mon[12]; Loading crypto/asn1/asn_mime.c +4 −8 Original line number Diff line number Diff line Loading @@ -73,20 +73,16 @@ * from parameter values. Quotes are stripped off */ typedef struct { struct mime_param_st { char *param_name; /* Param name e.g. "micalg" */ char *param_value; /* Param value e.g. "sha1" */ } MIME_PARAM; }; DEFINE_STACK_OF(MIME_PARAM) typedef struct { struct mime_header_st { char *name; /* Name of line e.g. "content-type" */ char *value; /* Value of line e.g. "text/plain" */ STACK_OF(MIME_PARAM) *params; /* Zero or more parameters */ } MIME_HEADER; DEFINE_STACK_OF(MIME_HEADER) }; static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags, const ASN1_ITEM *it); Loading crypto/evp/evp_locl.h +3 −0 Original line number Diff line number Diff line Loading @@ -295,3 +295,6 @@ struct evp_Encode_Ctx_st { int line_num; int expect_nl; }; typedef struct evp_pbe_st EVP_PBE_CTL; DEFINE_STACK_OF(EVP_PBE_CTL) crypto/evp/evp_pbe.c +2 −3 Original line number Diff line number Diff line Loading @@ -68,15 +68,14 @@ /* Setup a cipher context from a PBE algorithm */ typedef struct { struct evp_pbe_st { int pbe_type; int pbe_nid; int cipher_nid; int md_nid; EVP_PBE_KEYGEN *keygen; } EVP_PBE_CTL; }; DEFINE_STACK_OF(EVP_PBE_CTL) static STACK_OF(EVP_PBE_CTL) *pbe_algs; static const EVP_PBE_CTL builtin_pbe[] = { Loading Loading
crypto/asn1/ameth_lib.c +0 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,6 @@ static const EVP_PKEY_ASN1_METHOD *standard_methods[] = { }; typedef int sk_cmp_fn_type(const char *const *a, const char *const *b); DEFINE_CONST_STACK_OF(EVP_PKEY_ASN1_METHOD) static STACK_OF(EVP_PKEY_ASN1_METHOD) *app_methods = NULL; #ifdef TEST Loading
crypto/asn1/asn1_locl.h +5 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,11 @@ struct asn1_sctx_st { void *app_data; } /* ASN1_SCTX */ ; typedef struct mime_param_st MIME_PARAM; DEFINE_STACK_OF(MIME_PARAM) typedef struct mime_header_st MIME_HEADER; DEFINE_STACK_OF(MIME_HEADER) /* Month values for printing out times */ extern const char *_asn1_mon[12]; Loading
crypto/asn1/asn_mime.c +4 −8 Original line number Diff line number Diff line Loading @@ -73,20 +73,16 @@ * from parameter values. Quotes are stripped off */ typedef struct { struct mime_param_st { char *param_name; /* Param name e.g. "micalg" */ char *param_value; /* Param value e.g. "sha1" */ } MIME_PARAM; }; DEFINE_STACK_OF(MIME_PARAM) typedef struct { struct mime_header_st { char *name; /* Name of line e.g. "content-type" */ char *value; /* Value of line e.g. "text/plain" */ STACK_OF(MIME_PARAM) *params; /* Zero or more parameters */ } MIME_HEADER; DEFINE_STACK_OF(MIME_HEADER) }; static int asn1_output_data(BIO *out, BIO *data, ASN1_VALUE *val, int flags, const ASN1_ITEM *it); Loading
crypto/evp/evp_locl.h +3 −0 Original line number Diff line number Diff line Loading @@ -295,3 +295,6 @@ struct evp_Encode_Ctx_st { int line_num; int expect_nl; }; typedef struct evp_pbe_st EVP_PBE_CTL; DEFINE_STACK_OF(EVP_PBE_CTL)
crypto/evp/evp_pbe.c +2 −3 Original line number Diff line number Diff line Loading @@ -68,15 +68,14 @@ /* Setup a cipher context from a PBE algorithm */ typedef struct { struct evp_pbe_st { int pbe_type; int pbe_nid; int cipher_nid; int md_nid; EVP_PBE_KEYGEN *keygen; } EVP_PBE_CTL; }; DEFINE_STACK_OF(EVP_PBE_CTL) static STACK_OF(EVP_PBE_CTL) *pbe_algs; static const EVP_PBE_CTL builtin_pbe[] = { Loading