提交 b9fdb3eb 编写于 作者: B Bodo Möller

Reinsert typedef'ed names for structs to help those trying to read the

sourcecode (including fgrep)
上级 d66ace9d
...@@ -137,7 +137,7 @@ struct evp_pkey_st ...@@ -137,7 +137,7 @@ struct evp_pkey_st
} pkey; } pkey;
int save_parameters; int save_parameters;
STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */ STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */
}; } /* EVP_PKEY */;
#define EVP_PKEY_MO_SIGN 0x0001 #define EVP_PKEY_MO_SIGN 0x0001
#define EVP_PKEY_MO_VERIFY 0x0002 #define EVP_PKEY_MO_VERIFY 0x0002
...@@ -226,7 +226,7 @@ struct env_md_st ...@@ -226,7 +226,7 @@ struct env_md_st
int required_pkey_type[5]; /*EVP_PKEY_xxx */ int required_pkey_type[5]; /*EVP_PKEY_xxx */
int block_size; int block_size;
int ctx_size; /* how big does the ctx->md_data need to be */ int ctx_size; /* how big does the ctx->md_data need to be */
}; } /* EVP_MD */;
......
...@@ -126,7 +126,7 @@ struct X509_algor_st ...@@ -126,7 +126,7 @@ struct X509_algor_st
{ {
ASN1_OBJECT *algorithm; ASN1_OBJECT *algorithm;
ASN1_TYPE *parameter; ASN1_TYPE *parameter;
}; } /* X509_ALGOR */;
DECLARE_STACK_OF(X509_ALGOR) DECLARE_STACK_OF(X509_ALGOR)
DECLARE_ASN1_SET_OF(X509_ALGOR) DECLARE_ASN1_SET_OF(X509_ALGOR)
...@@ -172,7 +172,7 @@ struct X509_name_st ...@@ -172,7 +172,7 @@ struct X509_name_st
char *bytes; char *bytes;
#endif #endif
unsigned long hash; /* Keep the hash around for lookups */ unsigned long hash; /* Keep the hash around for lookups */
}; } /* X509_NAME */;
DECLARE_STACK_OF(X509_NAME) DECLARE_STACK_OF(X509_NAME)
...@@ -272,7 +272,7 @@ struct x509_st ...@@ -272,7 +272,7 @@ struct x509_st
unsigned char sha1_hash[SHA_DIGEST_LENGTH]; unsigned char sha1_hash[SHA_DIGEST_LENGTH];
#endif #endif
X509_CERT_AUX *aux; X509_CERT_AUX *aux;
}; } /* X509 */;
DECLARE_STACK_OF(X509) DECLARE_STACK_OF(X509)
DECLARE_ASN1_SET_OF(X509) DECLARE_ASN1_SET_OF(X509)
...@@ -419,7 +419,7 @@ struct X509_crl_st ...@@ -419,7 +419,7 @@ struct X509_crl_st
X509_ALGOR *sig_alg; X509_ALGOR *sig_alg;
ASN1_BIT_STRING *signature; ASN1_BIT_STRING *signature;
int references; int references;
}; } /* X509_CRL */;
DECLARE_STACK_OF(X509_CRL) DECLARE_STACK_OF(X509_CRL)
DECLARE_ASN1_SET_OF(X509_CRL) DECLARE_ASN1_SET_OF(X509_CRL)
......
...@@ -188,7 +188,7 @@ struct x509_store_st ...@@ -188,7 +188,7 @@ struct x509_store_st
CRYPTO_EX_DATA ex_data; CRYPTO_EX_DATA ex_data;
int references; int references;
int depth; /* how deep to look (still unused -- X509_STORE_CTX's depth is used) */ int depth; /* how deep to look (still unused -- X509_STORE_CTX's depth is used) */
}; } /* X509_STORE */;
#define X509_STORE_set_depth(ctx,d) ((ctx)->depth=(d)) #define X509_STORE_set_depth(ctx,d) ((ctx)->depth=(d))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册