diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-29 14:46:07 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-29 15:04:15 +0100 |
commit | a1f41284d7eb3c72096ae9cbd6a0673c0bb0d267 (patch) | |
tree | 517e325bfb7580befdce32db226ab5d32d654b29 /test/rmdtest.c | |
parent | a1f82f06399f6c3cbee2009a498f4e7e620b2330 (diff) |
Misc tweaks for EBCDIC based on feedback received
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'test/rmdtest.c')
-rw-r--r-- | test/rmdtest.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rmdtest.c b/test/rmdtest.c index c7db9e7294..b5ed73d013 100644 --- a/test/rmdtest.c +++ b/test/rmdtest.c @@ -107,8 +107,7 @@ int main(int argc, char *argv[]) unsigned char md[RIPEMD160_DIGEST_LENGTH]; R = ret; - i = 0; - while (i < OSSL_NELEM(test)) { + for (i = 0; i < OSSL_NELEM(test); i++) { # ifdef CHARSET_EBCDIC ebcdic2ascii(test[i], test[i], strlen(test[i])); # endif @@ -121,7 +120,6 @@ int main(int argc, char *argv[]) err++; } else printf("test %d ok\n", i + 1); - i++; R++; } EXIT(err); |