]> code.citadel.org Git - citadel.git/blobdiff - citadel/md5.h
* Bug fixes: Fix numerous char array size mismatches, signed/unsigned
[citadel.git] / citadel / md5.h
index ff8d0c835ed0c05cd2329288ac7aa202d06cb53b..f77e141b76876e9205903dc330836706d12402ae 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MD5_H
 #define MD5_H
 
+#include "sysdep.h"
 #include "typesize.h"
 
 struct MD5Context {
@@ -14,7 +15,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, char *buffer);
+char *make_apop_string(char *realpass, char *nonce, char *buffer, size_t n);
 
 /*
  * This is needed to make RSAREF happy on some MS-DOS compilers.