aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/prov/pkcs11/p11_mechanism.cpp
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2016-06-28 21:36:45 +0200
committerDaniel Neus <[email protected]>2016-06-28 21:36:45 +0200
commit8bfa53524298db986bd284272beecabfd8e13ba9 (patch)
treeb665c3287774b68c86ee60071a9253909fe733c7 /src/lib/prov/pkcs11/p11_mechanism.cpp
parente6e8151cf6900d3a1b83ebb40527022438aefa8f (diff)
fix some warnings and one compile error
Diffstat (limited to 'src/lib/prov/pkcs11/p11_mechanism.cpp')
-rw-r--r--src/lib/prov/pkcs11/p11_mechanism.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/prov/pkcs11/p11_mechanism.cpp b/src/lib/prov/pkcs11/p11_mechanism.cpp
index b3cc1c83b..299f211c3 100644
--- a/src/lib/prov/pkcs11/p11_mechanism.cpp
+++ b/src/lib/prov/pkcs11/p11_mechanism.cpp
@@ -9,6 +9,7 @@
#include <botan/internal/p11_mechanism.h>
#include <botan/rfc6979.h>
#include <botan/scan_name.h>
+#include <botan/emsa.h>
#include <tuple>
@@ -208,7 +209,7 @@ MechanismWrapper MechanismWrapper::create_ecdsa_mechanism(const std::string& has
if(hash_name != "Raw")
{
- hash_name = hash_for_deterministic_signature(hash);
+ hash_name = hash_for_emsa(hash);
}
auto mechanism_type = EcdsaHash.find(hash_name);