mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 11:26:48 -05:00
Uses by default the OpenSSL crypto MD5 implementation.
This commit is contained in:
parent
5f3659e7c9
commit
21569be70d
7 changed files with 37 additions and 21 deletions
10
snapraid.c
10
snapraid.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue