Uses by default the OpenSSL crypto MD5 implementation.

This commit is contained in:
Andrea Mazzoleni 2011-04-12 18:58:30 +02:00
parent 5f3659e7c9
commit 21569be70d
7 changed files with 37 additions and 21 deletions

View file

@ -94,7 +94,15 @@ void speed(void)
unsigned blocksize = 256 * 1024;
void* block = malloc_nofail(blocksize);
printf(PACKAGE " v" VERSION " by Andrea Mazzoleni, " PACKAGE_URL "\n");
#if HAVE_LIBCRYPTO
printf("Using OpenSSL libcrypto MD5\n");
#else
printf("Using portable MD5\n");
#endif
#ifdef __GNUC__
printf("Compiled with gcc " __VERSION__ "\n");
#endif
printf("Hashing speed test...\n");
gettimeofday(&start, 0);