forked from pool/openssl-ibmca
ca089ef5ad
1 OBS-URL: https://build.opensuse.org/request/show/291316 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl-ibmca?expand=0&rev=23
23 lines
667 B
Diff
23 lines
667 B
Diff
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>
|
|
Acked-by: John Jolly <jjolly@suse.de>
|
|
|
|
diff --git a/e_ibmca.c b/e_ibmca.c
|
|
index 94c44a4..f3fad35 100644
|
|
--- a/e_ibmca.c
|
|
+++ b/e_ibmca.c
|
|
@@ -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,
|