mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 03:27:03 +02:00
openssl refactor of digest handling
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@ -29,7 +29,7 @@ static void test_digest_string(){
|
||||
};
|
||||
|
||||
for(i=0; i<sizeof(tests)/sizeof(struct digest_test); i++){
|
||||
digest_string(tests[i].s, &digest[0]);
|
||||
digest_string("sha256", tests[i].s, &digest[0]);
|
||||
assert(strcmp(digest, tests[i].digest1) == 0 && "test_digest_string()");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user