Add JS HTTP server to smartjs

PUBLISHED_FROM=13210e55d9434917549dcbf9a39a5377181f8387
This commit is contained in:
Sergey Lyubka authored and Marko Mikulicic committed 2015-10-21 17:34:55 +02:00
1 parent 1eaabdd8e5
commit 57b35e6007
1 file changed
+2
+2
View File
@@ -478,6 +478,7 @@ void cs_hmac_sha1(const unsigned char *key, size_t keylen,
/* Amalgamated: #include "md5.h" */
#ifndef CS_ENABLE_NATIVE_MD5
static void byteReverse(unsigned char *buf, unsigned longs) {
/* Forrest: MD5 expect LITTLE_ENDIAN, swap if BIG_ENDIAN */
#if BYTE_ORDER == BIG_ENDIAN
@@ -661,6 +662,7 @@ void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) {
memcpy(digest, ctx->buf, 16);
memset((char *) ctx, 0, sizeof(*ctx));
}
#endif /* CS_ENABLE_NATIVE_MD5 */
/*
* Stringify binary data. Output buffer size must be 2 * size_of_input + 1