diff options
author | Bodo Möller <bodo@openssl.org> | 2001-12-07 17:02:01 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-12-07 17:02:01 +0000 |
commit | 87166e1fb6941280fc0827909d944b806461727d (patch) | |
tree | 67183ab2ef834456f753280b6495032b1cbb01f4 /apps/speed.c | |
parent | f3e24baddfdab36524ab8172edf0f7f4b15666be (diff) | |
download | openssl-87166e1fb6941280fc0827909d944b806461727d.tar.gz |
fix warnings (one of them was clearly justified)
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c index 11085eed23..795a1430c8 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -352,7 +352,7 @@ int MAIN(int argc, char **argv) ENGINE *e; unsigned char *buf=NULL,*buf2=NULL; int mret=1; - long count,rsa_count,save_count=0; + long count=0,rsa_count,save_count=0; int i,j,k; #ifndef OPENSSL_NO_RSA unsigned rsa_num; @@ -424,7 +424,7 @@ int MAIN(int argc, char **argv) #define D_CBC_BF 13 #define D_CBC_CAST 14 #define D_EVP 15 - double d; + double d=0; long c[ALGOR_NUM][SIZE_NUM]; #define R_DSA_512 0 #define R_DSA_1024 1 @@ -1501,7 +1501,7 @@ show_res: #endif #ifdef HZ #define as_string(s) (#s) - printf("HZ=%g", HZ); + printf("HZ=%g", (double)HZ); # ifdef _SC_CLK_TCK printf(" [sysconf value]"); # endif |