Skip to content

Commit a1c55b9

Browse files
committed
updated latest requests
1 parent 34fad96 commit a1c55b9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

hashing/ripemd_160.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,8 @@ class RIPEMD160 {
357357
} // namespace hashing
358358

359359
/**
360-
* @brief test example hashes
360+
* @brief self test implementation
361+
* @return void
361362
*/
362363
static void check_me(std::string data, std::string expected_hash) {
363364
hashing::RIPEMD160 obj;
@@ -393,7 +394,7 @@ static void test() {
393394
* @brief main function
394395
* @return 0 on exit
395396
*/
396-
int main(int argc, char *argv[]) {
397-
test();
397+
int main() {
398+
test(); // run self test implementation
398399
return 0;
399400
}

0 commit comments

Comments
 (0)