projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3eac70a
)
Stop warnings on WIN64
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 15 Jan 2009 12:34:54 +0000
(12:34 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 15 Jan 2009 12:34:54 +0000
(12:34 +0000)
fips/sha/fips_standalone_sha1.c
patch
|
blob
|
history
diff --git
a/fips/sha/fips_standalone_sha1.c
b/fips/sha/fips_standalone_sha1.c
index 058b71a20f25850f0c390b6405a3d3341a81f453..eec65dc39ef0d3b1ea3ff3054d7f4a7d541861d6 100644
(file)
--- 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)
{
-
in
t 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];
-
in
t l=fread(buf,1,sizeof buf,f);
+
size_
t l=fread(buf,1,sizeof buf,f);
if(l == 0)
{