Skip to content

Commit

Permalink
Fix typo in PKCS#11 hash function mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
securitykernel committed Jan 3, 2024
1 parent 2bfa8b7 commit 2f0c28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/prov/pkcs11/p11_rsa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ std::string hash_function_name_from_pkcs11_rsa_mechanism_type(MechanismType type

case MechanismType::Sha384RsaPkcs:
case MechanismType::Sha384RsaPkcsPss:
return "SHA-348";
return "SHA-384";

case MechanismType::Sha512RsaPkcs:
case MechanismType::Sha512RsaPkcsPss:
Expand Down

0 comments on commit 2f0c28c

Please sign in to comment.