From 1e9e40d8b027faca62fe51954f022efdd9bfe62a Mon Sep 17 00:00:00 2001 From: Todd Short Date: Thu, 22 Dec 2016 09:06:59 -0500 Subject: [PATCH] Fix EVP_MD_meth_get_flags Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2134) (cherry picked from commit 8bfa99f04f9763a6a8d72a6d5c1f0a962f8a084b) --- crypto/evp/evp_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c index 4333fb97c2..0c76db5a99 100644 --- a/crypto/evp/evp_lib.c +++ b/crypto/evp/evp_lib.c @@ -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) { - return md->block_size; + return md->flags; } int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx) { -- 2.25.1