[Cryptech-Commits] [sw/pkcs11] 02/02: Might help to spell function name correctly.

git at cryptech.is git at cryptech.is
Thu Jul 9 04:24:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/pkcs11.

commit d78d4072c30a4cb215371f70a8535cfd6a2dbd73
Author: Rob Austein <sra at hactrn.net>
Date:   Thu Jul 9 00:18:10 2015 -0400

    Might help to spell function name correctly.
---
 pkcs11.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pkcs11.c b/pkcs11.c
index 1d50ddc..9997768 100644
--- a/pkcs11.c
+++ b/pkcs11.c
@@ -3429,28 +3429,28 @@ CK_RV C_GetMechanismInfo(CK_SLOT_ID slotID,
   case CKM_SHA_1:
   case CKM_SHA1_RSA_PKCS:
   case CKM_SHA_1_HMAC:
-    if (hal_has_core_present(hal_hash_sha1) != HAL_OK)
+    if (hal_hash_core_present(hal_hash_sha1) != HAL_OK)
       return CKR_MECHANISM_INVALID;
     break;
 
   case CKM_SHA256:
   case CKM_SHA256_RSA_PKCS:
   case CKM_SHA256_HMAC:
-    if (hal_has_core_present(hal_hash_sha256) != HAL_OK)
+    if (hal_hash_core_present(hal_hash_sha256) != HAL_OK)
       return CKR_MECHANISM_INVALID;
     break;
 
   case CKM_SHA384:
   case CKM_SHA384_RSA_PKCS:
   case CKM_SHA384_HMAC:
-    if (hal_has_core_present(hal_hash_sha384) != HAL_OK)
+    if (hal_hash_core_present(hal_hash_sha384) != HAL_OK)
       return CKR_MECHANISM_INVALID;
     break;
 
   case CKM_SHA512:
   case CKM_SHA512_RSA_PKCS:
   case CKM_SHA512_HMAC:
-    if (hal_has_core_present(hal_hash_sha512) != HAL_OK)
+    if (hal_hash_core_present(hal_hash_sha512) != HAL_OK)
       return CKR_MECHANISM_INVALID;
     break;
 



More information about the Commits mailing list