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

sourcecode (including fgrep)
This commit is contained in:
Bodo Möller 2001-08-06 11:49:31 +00:00
parent d66ace9da5
commit b9fdb3eb99
3 changed files with 7 additions and 7 deletions

View 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 */;

View 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)

View 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))