Reinsert typedef'ed names for structs to help those trying to read the
authorBodo Möller <bodo@openssl.org>
Mon, 6 Aug 2001 11:49:31 +0000 (11:49 +0000)
committerBodo Möller <bodo@openssl.org>
Mon, 6 Aug 2001 11:49:31 +0000 (11:49 +0000)
sourcecode (including fgrep)

crypto/evp/evp.h
crypto/x509/x509.h
crypto/x509/x509_vfy.h

index cd5a3406246e68c2a2c68ede3beea76ba0f836d6..efcc17c6085ba917b70784b56086c4ff884e42d0 100644 (file)
@@ -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 */;
 
 
 
index 0597bb4d003a75efe544809540c32e7f902cd7eb..266322455509c8ccd696946e0b02ff2ee3814e6e 100644 (file)
@@ -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)
index 603b77f364baa90a813608a37b8c4f181b106442..7a0208ec3513b912942b1dc8835d82030be15669 100644 (file)
@@ -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))