From 371a2d439bb4ebb2c6c7359031b92a4ce6777de7 Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Tue, 23 Jan 2018 07:31:36 -0600 Subject: [PATCH] Fix no-ec --strict-warnings builds The 'loop' variable is only used if EC is available. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/5149) --- apps/speed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/speed.c b/apps/speed.c index df59ca6902..db4b14fab6 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1277,7 +1277,9 @@ int speed_main(int argc, char **argv) || !defined(OPENSSL_NO_EC) long rsa_count = 1; #endif +#ifndef OPENSSL_NO_EC size_t loop; +#endif /* What follows are the buffers and key material. */ #ifndef OPENSSL_NO_RC5 -- 2.25.1