Fixed debug statement if algorithm benchmarking enabled
authorMartin Willi <martin@revosec.ch>
Fri, 8 Apr 2011 12:55:10 +0000 (14:55 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 8 Apr 2011 12:55:10 +0000 (14:55 +0200)
src/libstrongswan/crypto/crypto_tester.c

index 276f432..4635dcc 100644 (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
                {