warning fixes and cleanups for 64-bit machines
[citadel.git] / citadel / md5.h
index f81237108d8f47d5ec7ca0c6f806e19eb8c4c2f4..64beb61881ae93ceb69e267fc7adb0871aef7c88 100644 (file)
@@ -6,7 +6,7 @@
 struct MD5Context {
        cit_uint32_t buf[4];
        cit_uint32_t bits[2];
-       unsigned char in[64];
+       cit_uint32_t in[16];
 };
 
 void MD5Init(struct MD5Context *context);
@@ -14,7 +14,7 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf,
               unsigned len);
 void MD5Final(unsigned char digest[16], struct MD5Context *context);
 void MD5Transform(cit_uint32_t buf[4], cit_uint32_t const in[16]);
-char *make_apop_string(char *realpass, char *nonce, u_char *buffer);
+char *make_apop_string(char *realpass, char *nonce, char *buffer);
 
 /*
  * This is needed to make RSAREF happy on some MS-DOS compilers.