diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-01-15 12:34:54 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-01-15 12:34:54 +0000 |
commit | cc8c0f6b466df1329ab6e0f239bf3837adbb8c8d (patch) | |
tree | f76d932ab61e04c91cc6bbde8c7c336da30a7dc2 /fips | |
parent | 3eac70a35633942d5ce0e45ac0e0e6bd3e1849a8 (diff) |
Stop warnings on WIN64
Diffstat (limited to 'fips')
-rw-r--r-- | fips/sha/fips_standalone_sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fips/sha/fips_standalone_sha1.c b/fips/sha/fips_standalone_sha1.c index 058b71a20f..eec65dc39e 100644 --- a/fips/sha/fips_standalone_sha1.c +++ b/fips/sha/fips_standalone_sha1.c @@ -65,7 +65,7 @@ void OPENSSL_cleanse(void *p,size_t len) {} static void hmac_init(SHA_CTX *md_ctx,SHA_CTX *o_ctx, const char *key) { - int len=strlen(key); + size_t len=strlen(key); int i; unsigned char keymd[HMAC_MAX_MD_CBLOCK]; unsigned char pad[HMAC_MAX_MD_CBLOCK]; @@ -139,7 +139,7 @@ int main(int argc,char **argv) for( ; ; ) { char buf[1024]; - int l=fread(buf,1,sizeof buf,f); + size_t l=fread(buf,1,sizeof buf,f); if(l == 0) { |