From 7df276258a328a71b2702067fce9be97bf4ee4a2 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 19 Apr 2016 12:30:54 -0500 Subject: [PATCH] Fix mis-merge in evp-openssl.c --- lib/hcrypto/evp-openssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/hcrypto/evp-openssl.c b/lib/hcrypto/evp-openssl.c index 88fd40d4d..66cbf4344 100644 --- a/lib/hcrypto/evp-openssl.c +++ b/lib/hcrypto/evp-openssl.c @@ -352,6 +352,8 @@ get_EVP_MD_once_cb(void *d) } /* Build the hc_EVP_MD */ + hc_evp->block_size = EVP_MD_block_size(ossl_evp); + hc_evp->hash_size = EVP_MD_size(ossl_evp); hc_evp->ctx_size = sizeof(struct ossl_md_ctx); hc_evp->init = arg->md_init; hc_evp->update = ossl_md_update; -- 2.11.4.GIT