From 2f0c28cf2a39fdfe05409c6ca4780dd7550078dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Fischer?= Date: Wed, 3 Jan 2024 10:36:20 +0100 Subject: [PATCH] Fix typo in PKCS#11 hash function mapping --- src/lib/prov/pkcs11/p11_rsa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/prov/pkcs11/p11_rsa.cpp b/src/lib/prov/pkcs11/p11_rsa.cpp index 9773e8e1b1b..c891574ee0e 100644 --- a/src/lib/prov/pkcs11/p11_rsa.cpp +++ b/src/lib/prov/pkcs11/p11_rsa.cpp @@ -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: