From 1522c23470e9b3b93d2c5c7e611b060e32ef1121 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 22 May 2002 07:53:53 +0000 Subject: [PATCH] Remove warnings about unused symbols when configured with no-rsa. --- apps/speed.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/speed.c b/apps/speed.c index 62cf56e06..fea0ffe2c 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -372,8 +372,11 @@ int MAIN(int argc, char **argv) ENGINE *e = NULL; unsigned char *buf=NULL,*buf2=NULL; int mret=1; - long count=0,save_count=0, rsa_count; + long count=0,save_count=0; int i,j,k; +#if !defined(OPENSSL_NO_RSA) || !defined(OPENSSL_NO_DSA) + long rsa_count; +#endif #ifndef OPENSSL_NO_RSA unsigned rsa_num; #endif