Bugfix type in ed448 implementation

partially fix for #99
This commit is contained in:
Dominik Thalhammer
2020-09-10 13:34:26 +02:00
committed by GitHub
parent 49d29e3d43
commit 7715cc2eff

View File

@@ -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