Use correct integrity_algorithm_t enum type in bench_signer()
authorMartin Willi <martin@revosec.ch>
Mon, 14 May 2012 12:11:22 +0000 (14:11 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 14 May 2012 12:11:22 +0000 (14:11 +0200)
src/libstrongswan/crypto/crypto_tester.c

index 8b1daa8..9619570 100644 (file)
@@ -458,7 +458,7 @@ METHOD(crypto_tester_t, test_aead, bool,
  * Benchmark a signer
  */
 static u_int bench_signer(private_crypto_tester_t *this,
-       encryption_algorithm_t alg, signer_constructor_t create)
+       integrity_algorithm_t alg, signer_constructor_t create)
 {
        signer_t *signer;