提交 a8eba56e 编写于 作者: D Dr. Stephen Henson

use more descriptive name DEFINE_STACK_OF_CONST

Reviewed-by: NRichard Levitte <levitte@openssl.org>
上级 4a1f3f27
...@@ -104,7 +104,7 @@ struct evp_pkey_asn1_method_st { ...@@ -104,7 +104,7 @@ struct evp_pkey_asn1_method_st {
ASN1_BIT_STRING *sig); ASN1_BIT_STRING *sig);
} /* EVP_PKEY_ASN1_METHOD */ ; } /* EVP_PKEY_ASN1_METHOD */ ;
DEFINE_CONST_STACK_OF(EVP_PKEY_ASN1_METHOD) DEFINE_STACK_OF_CONST(EVP_PKEY_ASN1_METHOD)
extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth; extern const EVP_PKEY_ASN1_METHOD cmac_asn1_meth;
extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth; extern const EVP_PKEY_ASN1_METHOD dh_asn1_meth;
......
...@@ -120,7 +120,7 @@ struct evp_pkey_method_st { ...@@ -120,7 +120,7 @@ struct evp_pkey_method_st {
int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value); int (*ctrl_str) (EVP_PKEY_CTX *ctx, const char *type, const char *value);
} /* EVP_PKEY_METHOD */ ; } /* EVP_PKEY_METHOD */ ;
DEFINE_CONST_STACK_OF(EVP_PKEY_METHOD) DEFINE_STACK_OF_CONST(EVP_PKEY_METHOD)
void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx); void evp_pkey_set_cb_translate(BN_GENCB *cb, EVP_PKEY_CTX *ctx);
......
...@@ -185,7 +185,7 @@ extern "C" { ...@@ -185,7 +185,7 @@ extern "C" {
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
# define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t) # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
# define DEFINE_CONST_STACK_OF(t) SKM_DEFINE_STACK_OF(t, const t, t) # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
/*- /*-
* Strings are special: normally an lhash entry will point to a single * Strings are special: normally an lhash entry will point to a single
......
...@@ -325,7 +325,7 @@ typedef struct ssl_session_st SSL_SESSION; ...@@ -325,7 +325,7 @@ typedef struct ssl_session_st SSL_SESSION;
typedef struct tls_sigalgs_st TLS_SIGALGS; typedef struct tls_sigalgs_st TLS_SIGALGS;
typedef struct ssl_conf_ctx_st SSL_CONF_CTX; typedef struct ssl_conf_ctx_st SSL_CONF_CTX;
DEFINE_CONST_STACK_OF(SSL_CIPHER) DEFINE_STACK_OF_CONST(SSL_CIPHER)
/* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/ /* SRTP protection profiles for use with the use_srtp extension (RFC 5764)*/
typedef struct srtp_protection_profile_st { typedef struct srtp_protection_profile_st {
......
...@@ -214,7 +214,7 @@ extern "C" { ...@@ -214,7 +214,7 @@ extern "C" {
# define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2) # define DEFINE_SPECIAL_STACK_OF(t1, t2) SKM_DEFINE_STACK_OF(t1, t2, t2)
# define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t) # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
# define DEFINE_CONST_STACK_OF(t) SKM_DEFINE_STACK_OF(t, const t, t) # define DEFINE_STACK_OF_CONST(t) SKM_DEFINE_STACK_OF(t, const t, t)
/*- /*-
* Strings are special: normally an lhash entry will point to a single * Strings are special: normally an lhash entry will point to a single
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册