28 lines
735 B
Diff
28 lines
735 B
Diff
|
From e11b35d9039291253d408ceb09b47a94e79d766f Mon Sep 17 00:00:00 2001
|
||
|
From: Paulo Vital <pvital@linux.vnet.ibm.com>
|
||
|
Date: Thu, 30 Mar 2017 11:48:53 -0300
|
||
|
Subject: [ibmca PATCH] Fix SHA512 EVP digest struct to use
|
||
|
EVP_MD_FLAG_PKEY_METHOD_SIGNATURE
|
||
|
|
||
|
Signed-off-by: Paulo Vital <pvital@linux.vnet.ibm.com>
|
||
|
---
|
||
|
src/e_ibmca.c | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/src/e_ibmca.c b/src/e_ibmca.c
|
||
|
index 6220be8..35fa66c 100644
|
||
|
--- a/src/e_ibmca.c
|
||
|
+++ b/src/e_ibmca.c
|
||
|
@@ -792,7 +792,7 @@ static const EVP_MD ibmca_sha512 = {
|
||
|
NID_sha512,
|
||
|
NID_sha512WithRSAEncryption,
|
||
|
SHA512_HASH_LENGTH,
|
||
|
- 0,
|
||
|
+ EVP_MD_FLAG_PKEY_METHOD_SIGNATURE,
|
||
|
ibmca_sha512_init,
|
||
|
ibmca_sha512_update,
|
||
|
ibmca_sha512_final,
|
||
|
--
|
||
|
2.9.3
|
||
|
|