Get rid of signed/unsigned warnings, and teach CVS about new things to
[openssl.git] / crypto / sha / sha.h
index 35c89375a2538e21a4248b7570507b78b56906f9..f25512e5e68c93a1a0f8402c2e7123acc62cfddf 100644 (file)
@@ -130,7 +130,7 @@ typedef struct SHA256state_st
        SHA_LONG h[8];
        SHA_LONG Nl,Nh;
        SHA_LONG data[SHA_LBLOCK];
-       int num;
+       unsigned int num,md_len;
        } SHA256_CTX;
 
 #ifndef OPENSSL_NO_SHA256
@@ -172,7 +172,7 @@ typedef struct SHA512state_st
                SHA_LONG64      d[SHA_LBLOCK];
                unsigned char   p[SHA512_CBLOCK];
        } u;
-       int num;
+       unsigned int num,md_len;
        } SHA512_CTX;
 
 #ifndef OPENSSL_NO_SHA512