From b9fdb3eb99555d6e362035cebce701d6a5aa2a89 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Mon, 6 Aug 2001 11:49:31 +0000 Subject: [PATCH] Reinsert typedef'ed names for structs to help those trying to read the sourcecode (including fgrep) --- crypto/evp/evp.h | 4 ++-- crypto/x509/x509.h | 8 ++++---- crypto/x509/x509_vfy.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index cd5a340624..efcc17c608 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -137,7 +137,7 @@ struct evp_pkey_st } pkey; int save_parameters; STACK_OF(X509_ATTRIBUTE) *attributes; /* [ 0 ] */ - }; + } /* EVP_PKEY */; #define EVP_PKEY_MO_SIGN 0x0001 #define EVP_PKEY_MO_VERIFY 0x0002 @@ -226,7 +226,7 @@ struct env_md_st int required_pkey_type[5]; /*EVP_PKEY_xxx */ int block_size; int ctx_size; /* how big does the ctx->md_data need to be */ - }; + } /* EVP_MD */; diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h index 0597bb4d00..2663224555 100644 --- a/crypto/x509/x509.h +++ b/crypto/x509/x509.h @@ -126,7 +126,7 @@ struct X509_algor_st { ASN1_OBJECT *algorithm; ASN1_TYPE *parameter; - }; + } /* X509_ALGOR */; DECLARE_STACK_OF(X509_ALGOR) DECLARE_ASN1_SET_OF(X509_ALGOR) @@ -172,7 +172,7 @@ struct X509_name_st char *bytes; #endif unsigned long hash; /* Keep the hash around for lookups */ - }; + } /* X509_NAME */; DECLARE_STACK_OF(X509_NAME) @@ -272,7 +272,7 @@ struct x509_st unsigned char sha1_hash[SHA_DIGEST_LENGTH]; #endif X509_CERT_AUX *aux; - }; + } /* X509 */; DECLARE_STACK_OF(X509) DECLARE_ASN1_SET_OF(X509) @@ -419,7 +419,7 @@ struct X509_crl_st X509_ALGOR *sig_alg; ASN1_BIT_STRING *signature; int references; - }; + } /* X509_CRL */; DECLARE_STACK_OF(X509_CRL) DECLARE_ASN1_SET_OF(X509_CRL) diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h index 603b77f364..7a0208ec35 100644 --- a/crypto/x509/x509_vfy.h +++ b/crypto/x509/x509_vfy.h @@ -188,7 +188,7 @@ struct x509_store_st CRYPTO_EX_DATA ex_data; int references; 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)) -- 2.25.1