2014-03-19 20:34:57 +00:00
|
|
|
commit f204aca935dfe45b736e9fb8f822c9e79ec9747c
|
|
|
|
Author: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
|
|
|
|
Date: Fri Mar 7 10:35:33 2014 +0100
|
|
|
|
|
|
|
|
SHA256: Fixed message digest length definition in sha256 template
|
|
|
|
|
|
|
|
Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
diff --git a/e_ibmca.c b/e_ibmca.c
|
|
|
|
index 94c44a4..f3fad35 100644
|
|
|
|
--- a/e_ibmca.c
|
|
|
|
+++ b/e_ibmca.c
|
2014-03-14 11:52:55 +00:00
|
|
|
@@ -727,7 +727,7 @@ static const EVP_MD ibmca_sha1 = {
|
|
|
|
static const EVP_MD ibmca_sha256 = {
|
|
|
|
NID_sha256,
|
|
|
|
NID_sha256WithRSAEncryption,
|
|
|
|
- SHA_HASH_LENGTH,
|
|
|
|
+ SHA256_HASH_LENGTH,
|
|
|
|
0,
|
|
|
|
ibmca_sha256_init,
|
|
|
|
ibmca_sha256_update,
|