Loading test/mdc2test.c +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) unsigned char md[MDC2_DIGEST_LENGTH]; int i; EVP_MD_CTX *c; static char text[30] = "Now is the time for all "; static char text[] = "Now is the time for all "; # ifdef CHARSET_EBCDIC ebcdic2ascii(text, text, strlen(text)); Loading test/rmdtest.c +1 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -121,7 +120,6 @@ int main(int argc, char *argv[]) err++; } else printf("test %d ok\n", i + 1); i++; R++; } EXIT(err); Loading test/sha1test.c +1 −3 Original line number Diff line number Diff line Loading @@ -92,8 +92,7 @@ int main(int argc, char *argv[]) c = EVP_MD_CTX_new(); 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 Loading @@ -105,7 +104,6 @@ int main(int argc, char *argv[]) err++; } else printf("test %d ok\n", i + 1); i++; R++; } Loading Loading
test/mdc2test.c +1 −1 Original line number Diff line number Diff line Loading @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) unsigned char md[MDC2_DIGEST_LENGTH]; int i; EVP_MD_CTX *c; static char text[30] = "Now is the time for all "; static char text[] = "Now is the time for all "; # ifdef CHARSET_EBCDIC ebcdic2ascii(text, text, strlen(text)); Loading
test/rmdtest.c +1 −3 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -121,7 +120,6 @@ int main(int argc, char *argv[]) err++; } else printf("test %d ok\n", i + 1); i++; R++; } EXIT(err); Loading
test/sha1test.c +1 −3 Original line number Diff line number Diff line Loading @@ -92,8 +92,7 @@ int main(int argc, char *argv[]) c = EVP_MD_CTX_new(); 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 Loading @@ -105,7 +104,6 @@ int main(int argc, char *argv[]) err++; } else printf("test %d ok\n", i + 1); i++; R++; } Loading