diff options
-rw-r--r-- | utils/benchmark.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/benchmark.c b/utils/benchmark.c index ec57146..c95da67 100644 --- a/utils/benchmark.c +++ b/utils/benchmark.c @@ -55,7 +55,6 @@ int gen_randsaltstr(eurephiaCTX *ctx, char *saltstr, int len); */ void benchmark_hashing(int rounds) { char *buffer = NULL; - char *pwdhash = NULL; static char randstr[34]; static int rand_set = 0; char pwdsalt[64], saltstr[32]; @@ -81,7 +80,7 @@ void benchmark_hashing(int rounds) { buffer = (char *) malloc_nullsafe(NULL, 1024); assert( buffer != NULL ); - pwdhash = sha512_crypt_r("benchmarkpassword", pwdsalt, ROUNDS_MAX, buffer, 1024); + sha512_crypt_r("benchmarkpassword", pwdsalt, ROUNDS_MAX, buffer, 1024); free_nullsafe(NULL, buffer); } |