From: Benjamin Kaduk Date: Tue, 23 Jan 2018 13:31:36 +0000 (-0600) Subject: Fix no-ec --strict-warnings builds X-Git-Tag: OpenSSL_1_1_1-pre1~160 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=371a2d439bb4ebb2c6c7359031b92a4ce6777de7;p=oweals%2Fopenssl.git 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) --- 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