Remove warnings about unused symbols when configured with no-rsa.
authorRichard Levitte <levitte@openssl.org>
Wed, 22 May 2002 07:53:53 +0000 (07:53 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 22 May 2002 07:53:53 +0000 (07:53 +0000)
apps/speed.c

index 62cf56e06e3a8af870ba9b5de9c96dec6734cd74..fea0ffe2cfae09c9af8f4a9d4c3b125be31148c6 100644 (file)
@@ -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