Hello,
I was wondering what is the purpose of wrappers like this one:
/*!
* \brief Small wrapper around MD5Update
*
* Small wrapper around MD5Update, because everybody uses this on 'str' types
* \param context MD5 context
* \param input input block
* \param inputLen length of input block
* \note please not use this in new code
* \todo review and fix all wrong usage
*/
static inline void MD5Update (MD5_CTX *context, char *input, unsigned int
inputLen)
{
return U_MD5Update(context, (unsigned char *)input, inputLen);
}
And this is U_MD5Update:
void U_MD5Update (MD5_CTX *context, unsigned char *input, unsigned int
inputLen)
Jan.
_______________________________________________
Kamailio (OpenSER) - Devel mailing list
[email protected]
http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel