first step of v2 final release

This commit is contained in:
Zhi Guan
2017-11-05 21:00:36 +08:00
parent 480b9e8d88
commit 27bde477a5
395 changed files with 26341 additions and 31364 deletions

View File

@@ -525,6 +525,16 @@ void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx)
return ctx->md_data;
}
void *EVP_MD_CTX_set_md_data(EVP_MD_CTX *ctx, void *md_data)
{
void *old_md_data;
old_md_data = ctx->md_data;
ctx->md_data = md_data;
return old_md_data;
}
int (*EVP_MD_CTX_update_fn(EVP_MD_CTX *ctx))(EVP_MD_CTX *ctx,
const void *data, size_t count)
{