diff options
Diffstat (limited to 'g10/t-rmd160.c')
-rw-r--r-- | g10/t-rmd160.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/g10/t-rmd160.c b/g10/t-rmd160.c index d48e3f2ed..ea2933f07 100644 --- a/g10/t-rmd160.c +++ b/g10/t-rmd160.c @@ -33,7 +33,7 @@ static void run_test (void) { - static struct + static struct { const char *data; const char *expect; @@ -71,7 +71,7 @@ run_test (void) for (idx=0; testtbl[idx].data; idx++) { - rmd160_hash_buffer (digest, + rmd160_hash_buffer (digest, testtbl[idx].data, strlen(testtbl[idx].data)); if (memcmp (digest, testtbl[idx].expect, 20)) fail (idx); @@ -84,9 +84,8 @@ main (int argc, char **argv) { (void)argc; (void)argv; - + run_test (); return 0; } - |