Skip to content

Commit

Permalink
Rename assert_rsa_sha1_assert to assert_rsa_sha1
Browse files Browse the repository at this point in the history
  • Loading branch information
smlu committed Dec 12, 2023
1 parent 8bcdd4d commit 81cf19f
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion include/ack/rsa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ namespace ack {
* @param signature - RSA PKCS1 v1.5 signature
* @param error - error message to use when verification fails
*/
inline void assert_rsa_sha1_assert(const rsa_public_key_view& pub_key, const hash160& digest, const bytes_view& signature, const char* error) {
inline void assert_rsa_sha1(const rsa_public_key_view& pub_key, const hash160& digest, const bytes_view& signature, const char* error) {
eosio::check( verify_rsa_sha1( pub_key, digest, signature ), error );
}

Expand Down
Loading

0 comments on commit 81cf19f

Please sign in to comment.