RSA counter should only be defined of RSA is available.
[openssl.git] / apps / speed.c
index 5d609a8c16b939247edc1cf8443a39e52484de7c..fca6618f7e6bb8303c99b095472c4e94c92acca0 100644 (file)
@@ -352,10 +352,11 @@ int MAIN(int argc, char **argv)
        ENGINE *e;
        unsigned char *buf=NULL,*buf2=NULL;
        int mret=1;
-       long count=0,rsa_count,save_count=0;
+       long count=0,save_count=0;
        int i,j,k;
 #ifndef OPENSSL_NO_RSA
        unsigned rsa_num;
+       long rsa_count;
 #endif
        unsigned char md[EVP_MAX_MD_SIZE];
 #ifndef OPENSSL_NO_MD2