Commit d9243d1c authored by benrubson's avatar benrubson Committed by Cesanta Bot

Fix MD5 disabling

PUBLISHED_FROM=bb03593fb2abfb79daa3118b786428ee3e693e3d
parent 2fb145d3
......@@ -980,7 +980,6 @@ void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) {
memcpy(digest, ctx->buf, 16);
memset((char *) ctx, 0, sizeof(*ctx));
}
#endif /* CS_DISABLE_MD5 */
char *cs_md5(char buf[33], ...) {
unsigned char hash[16];
......@@ -1003,6 +1002,7 @@ char *cs_md5(char buf[33], ...) {
return buf;
}
#endif /* CS_DISABLE_MD5 */
#endif /* EXCLUDE_COMMON */
#ifdef MG_MODULE_LINES
#line 1 "common/mbuf.c"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment