diff --git a/examples/nettle-benchmark.c b/examples/nettle-benchmark.c index eab21a11a4421456fe537cdeb26c030fc787d300..4a9a71632d7c132167ca20373153f40b144adbc2 100644 --- a/examples/nettle-benchmark.c +++ b/examples/nettle-benchmark.c @@ -281,7 +281,7 @@ time_cipher(const struct nettle_cipher *cipher) free(key); } -#if HAVE_LIBCRYPTO +#if WITH_OPENSSL # define OPENSSL(x) x, #else # define OPENSSL(x) @@ -302,9 +302,11 @@ main(int argc UNUSED, char **argv UNUSED) const struct nettle_cipher *ciphers[] = { &nettle_aes128, &nettle_aes192, &nettle_aes256, - &nettle_arcfour128, - &nettle_blowfish128, - OPENSSL(&nettle_openssl_blowfish128) + OPENSSL(&nettle_openssl_aes128) + OPENSSL(&nettle_openssl_aes192) + OPENSSL(&nettle_openssl_aes256) + &nettle_arcfour128, OPENSSL(&nettle_openssl_arcfour128) + &nettle_blowfish128, OPENSSL(&nettle_openssl_blowfish128) &nettle_cast128, OPENSSL(&nettle_openssl_cast128) &nettle_des, OPENSSL(&nettle_openssl_des) &nettle_des3,