Merge branch 'master' of ssh://git.citadel.org/appl/gitroot/citadel
[citadel.git] / citadel / md5.h
index ff8d0c835ed0c05cd2329288ac7aa202d06cb53b..8fc29223cf501f35e80544801c81ab75dbbba8ab 100644 (file)
@@ -1,6 +1,8 @@
+
 #ifndef MD5_H
 #define MD5_H
 
+#include "sysdep.h"
 #include "typesize.h"
 
 struct MD5Context {
@@ -14,7 +16,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.