Skip to content
Snippets Groups Projects
Commit 19a28b3c authored by Sergey Lyubka's avatar Sergey Lyubka Committed by Marko Mikulicic
Browse files

Update cs_md5 description according to reality

PUBLISHED_FROM=b9c776bac4c8f2456c71b33641601fb38b30347e
parent 69944c1d
No related branches found
No related tags found
No related merge requests found
...@@ -966,11 +966,12 @@ void MD5_Update(MD5_CTX *c, const unsigned char *data, size_t len); ...@@ -966,11 +966,12 @@ void MD5_Update(MD5_CTX *c, const unsigned char *data, size_t len);
void MD5_Final(unsigned char *md, MD5_CTX *c); void MD5_Final(unsigned char *md, MD5_CTX *c);
/* /*
* Return stringified MD5 hash for NULL terminated list of strings. * Return stringified MD5 hash for NULL terminated list of pointer/length pairs.
* A length should be specified as size_t variable.
* Example: * Example:
* *
* char buf[33]; * char buf[33];
* cs_md5(buf, "foo", "bar", NULL); * cs_md5(buf, "foo", (size_t) 3, "bar", (size_t) 3, NULL);
*/ */
char *cs_md5(char buf[33], ...); char *cs_md5(char buf[33], ...);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment