X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmd5.h;h=8fc29223cf501f35e80544801c81ab75dbbba8ab;hb=489820aa544023dba04463b8474a22ff78ced029;hp=ff8d0c835ed0c05cd2329288ac7aa202d06cb53b;hpb=02a65d30355c16dc32afd48ba637e83ef825212a;p=citadel.git diff --git a/citadel/md5.h b/citadel/md5.h index ff8d0c835..8fc29223c 100644 --- a/citadel/md5.h +++ b/citadel/md5.h @@ -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.