diff options
author | Todd Short <tshort@akamai.com> | 2016-12-22 09:06:59 -0500 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-12-22 15:25:02 +0100 |
commit | 1e9e40d8b027faca62fe51954f022efdd9bfe62a (patch) | |
tree | bc8ebad04d3619bfda1360762449876ecfb84d7b /crypto/evp | |
parent | 38bf0e64f7a06f35edf66968b991222017e41984 (diff) |
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)
(cherry picked from commit 8bfa99f04f9763a6a8d72a6d5c1f0a962f8a084b)
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/evp_lib.c | 2 |
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) { |