aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/evp/evp_lib.c
diff options
context:
space:
mode:
authorTodd Short <tshort@akamai.com>2016-12-22 09:06:59 -0500
committerRichard Levitte <levitte@openssl.org>2016-12-22 15:23:41 +0100
commit8bfa99f04f9763a6a8d72a6d5c1f0a962f8a084b (patch)
tree7127e0bb77d19a2bb1baa56feec34aee275cecff /crypto/evp/evp_lib.c
parent1307af228343c5fc414353011ee3fecf45bac90a (diff)
downloadopenssl-8bfa99f04f9763a6a8d72a6d5c1f0a962f8a084b.tar.gz
Fix EVP_MD_meth_get_flags
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2134)
Diffstat (limited to 'crypto/evp/evp_lib.c')
-rw-r--r--crypto/evp/evp_lib.c2
1 files changed, 1 insertions, 1 deletions
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)
{