Skip to content

Commit

Permalink
Bugfix type in ed448 implementation
Browse files Browse the repository at this point in the history
partially fix for #99
  • Loading branch information
Thalhammer authored Sep 10, 2020
1 parent 49d29e3 commit 7715cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/jwt-cpp/jwt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7715cc2

Please sign in to comment.