From: Todd Short Date: Thu, 22 Dec 2016 14:06:59 +0000 (-0500) Subject: Fix EVP_MD_meth_get_flags X-Git-Tag: OpenSSL_1_1_1-pre1~2824 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8bfa99f04f9763a6a8d72a6d5c1f0a962f8a084b;p=oweals%2Fopenssl.git Fix EVP_MD_meth_get_flags Reviewed-by: Rich Salz Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2134) --- 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) {