Fixed debug statement if algorithm benchmarking enabled

This commit is contained in:
Martin Willi 2011-04-08 14:55:10 +02:00
parent 1ef7a2ef94
commit 6dc36a73e2
1 changed files with 3 additions and 3 deletions

View File

@ -247,7 +247,7 @@ METHOD(crypto_tester_t, test_crypter, bool,
{
DBG1(DBG_LIB,"disable %N[%s]: no key size supported",
encryption_algorithm_names, alg, plugin_name);
return FALSE;
return FALSE;
}
else
{
@ -263,7 +263,7 @@ METHOD(crypto_tester_t, test_crypter, bool,
{
*speed = bench_crypter(this, alg, create);
DBG1(DBG_LIB, "enabled %N[%s]: passed %u test vectors, %d points",
encryption_algorithm_names, alg, tested, plugin_name, *speed);
encryption_algorithm_names, alg, plugin_name, tested, *speed);
}
else
{
@ -417,7 +417,7 @@ METHOD(crypto_tester_t, test_aead, bool,
{
DBG1(DBG_LIB,"disable %N[%s]: no key size supported",
encryption_algorithm_names, alg, plugin_name);
return FALSE;
return FALSE;
}
else
{