diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2008-01-04 00:37:23 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2008-01-04 00:37:23 +0000 |
commit | 744ecaa5b6c024c4dfb9036e5efb65f7fec4f784 (patch) | |
tree | a81b11f6b2720586c517705b2f44fdcd8bd55d08 /engines/ccgost/gost89.c | |
parent | 76d761ccd3dc1a8c5fb844d91a1d2bc29f0d2b13 (diff) |
Avoid WIN32 signed/unsigned warnings.
Diffstat (limited to 'engines/ccgost/gost89.c')
-rw-r--r-- | engines/ccgost/gost89.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/ccgost/gost89.c b/engines/ccgost/gost89.c index c44143dca7..91a858a7bc 100644 --- a/engines/ccgost/gost89.c +++ b/engines/ccgost/gost89.c @@ -354,7 +354,7 @@ int gost_mac(gost_ctx *ctx,int mac_len,const unsigned char *data, { byte buffer[8]={0,0,0,0,0,0,0,0}; byte buf2[8]; - int i; + unsigned int i; for (i=0;i+8<=data_len;i+=8) mac_block(ctx,buffer,data+i); if (i<data_len) @@ -373,7 +373,7 @@ int gost_mac_iv(gost_ctx *ctx,int mac_len,const unsigned char *iv,const unsigned { byte buffer[8]; byte buf2[8]; - int i; + unsigned int i; memcpy (buffer,iv,8); for (i=0;i+8<=data_len;i+=8) mac_block(ctx,buffer,data+i); |