From 7715cc2eff8bae88e3fcbb1a70f64f726023057a Mon Sep 17 00:00:00 2001 From: Dominik Thalhammer Date: Thu, 10 Sep 2020 13:34:26 +0200 Subject: [PATCH] Bugfix type in ed448 implementation partially fix for #99 --- include/jwt-cpp/jwt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/jwt-cpp/jwt.h b/include/jwt-cpp/jwt.h index 582714ebf..2aa398574 100644 --- a/include/jwt-cpp/jwt.h +++ b/include/jwt-cpp/jwt.h @@ -1313,7 +1313,7 @@ namespace jwt { * \param private_key_password Password to decrypt private key pem. */ explicit ed448(const std::string& public_key, const std::string& private_key = "", const std::string& public_key_password = "", const std::string& private_key_password = "") - : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA") + : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_sha256, "EdDSA") {} }; #endif