提交 8bfa99f0 编写于 作者: T Todd Short 提交者: Richard Levitte

Fix EVP_MD_meth_get_flags

Reviewed-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NRichard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2134)
上级 1307af22
...@@ -404,7 +404,7 @@ int EVP_MD_meth_get_app_datasize(const EVP_MD *md) ...@@ -404,7 +404,7 @@ int EVP_MD_meth_get_app_datasize(const EVP_MD *md)
} }
unsigned long EVP_MD_meth_get_flags(const EVP_MD *md) unsigned long EVP_MD_meth_get_flags(const EVP_MD *md)
{ {
return md->block_size; return md->flags;
} }
int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx) int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册