mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +00:00
Fix DISABLE_MD5 and DISABLE_SHA1 naming
PUBLISHED_FROM=2babde0d0c6add14aa500f4bf1c833715d979c6c
This commit is contained in:
1 parent
14094aaef7
commit
2fb145d39d
5 files changed
+19
-19
No files matched your search
+3
-3
@@ -793,7 +793,7 @@ double cs_time(void) {
|
||||
/* Amalgamated: #include "common/str_util.h" */
|
||||
|
||||
#if !defined(EXCLUDE_COMMON)
|
||||
#if !DISABLE_MD5
|
||||
#if !CS_DISABLE_MD5
|
||||
|
||||
/* Amalgamated: #include "common/cs_endian.h" */
|
||||
|
||||
@@ -980,7 +980,7 @@ void MD5_Final(unsigned char digest[16], MD5_CTX *ctx) {
|
||||
memcpy(digest, ctx->buf, 16);
|
||||
memset((char *) ctx, 0, sizeof(*ctx));
|
||||
}
|
||||
#endif /* DISABLE_MD5 */
|
||||
#endif /* CS_DISABLE_MD5 */
|
||||
|
||||
char *cs_md5(char buf[33], ...) {
|
||||
unsigned char hash[16];
|
||||
@@ -1203,7 +1203,7 @@ int mg_strncmp(const struct mg_str str1, const struct mg_str str2, size_t n) {
|
||||
|
||||
/* Amalgamated: #include "common/sha1.h" */
|
||||
|
||||
#if !DISABLE_SHA1 && !defined(EXCLUDE_COMMON)
|
||||
#if !CS_DISABLE_SHA1 && !defined(EXCLUDE_COMMON)
|
||||
|
||||
/* Amalgamated: #include "common/cs_endian.h" */
|
||||
|
||||
|
||||
Reference in new issue
Block a user