[core] rename md5.[ch] to algo_md5.[ch]

personal/stbuehler/tests-path
Glenn Strauss 2020-09-04 21:53:39 -04:00
parent 044c8e80e5
commit 6c8160e5a4
7 changed files with 12 additions and 8 deletions

View File

@ -723,7 +723,8 @@ set(COMMON_SRC
http_chunk.c stream.c fdevent.c gw_backend.c
stat_cache.c plugin.c etag.c array.c
data_string.c data_array.c
data_integer.c algo_sha1.c md5.c
data_integer.c
algo_md5.c algo_sha1.c
fdevent_select.c fdevent_libev.c
fdevent_poll.c fdevent_linux_sysepoll.c
fdevent_solaris_devpoll.c fdevent_solaris_port.c

View File

@ -80,7 +80,8 @@ common_src=base64.c buffer.c burl.c log.c \
http_chunk.c stream.c fdevent.c gw_backend.c \
stat_cache.c plugin.c etag.c array.c \
data_string.c data_array.c \
data_integer.c algo_sha1.c md5.c \
data_integer.c \
algo_md5.c algo_sha1.c \
fdevent_select.c fdevent_libev.c \
fdevent_poll.c fdevent_linux_sysepoll.c \
fdevent_solaris_devpoll.c fdevent_solaris_port.c \
@ -453,7 +454,8 @@ mod_wstunnel_la_LIBADD = $(common_libadd) $(CRYPTO_LIB)
hdr = base64.h buffer.h burl.h network.h log.h http_kv.h keyvalue.h \
response.h request.h reqpool.h fastcgi.h chunk.h h2.h \
first.h http_chunk.h \
algo_sha1.h md5.h http_auth.h http_header.h http_vhostdb.h stream.h \
algo_md5.h algo_sha1.h \
http_auth.h http_header.h http_vhostdb.h stream.h \
fdevent.h gw_backend.h connections.h base.h base_decls.h stat_cache.h \
plugin.h plugin_config.h \
etag.h array.h vector.h \

View File

@ -60,7 +60,8 @@ common_src = Split("base64.c buffer.c burl.c log.c \
http_chunk.c stream.c fdevent.c gw_backend.c \
stat_cache.c plugin.c etag.c array.c \
data_string.c data_array.c \
data_integer.c algo_sha1.c md5.c \
data_integer.c \
algo_md5.c algo_sha1.c \
fdevent_select.c fdevent_libev.c \
fdevent_poll.c fdevent_linux_sysepoll.c \
fdevent_solaris_devpoll.c fdevent_solaris_port.c \

View File

@ -29,7 +29,7 @@ documentation and/or software.
*/
#include "md5.h"
#include "algo_md5.h"
#define UINT4 uint32_t
#define UINT2 uint16_t

View File

@ -637,6 +637,7 @@ configure_file(
)
common_src = [
'algo_md5.c',
'algo_sha1.c',
'array.c',
'base64.c',
@ -666,7 +667,6 @@ common_src = [
'http-header-glue.c',
'keyvalue.c',
'log.c',
'md5.c',
'plugin.c',
'rand.c',
'request.c',

View File

@ -330,9 +330,9 @@ SHA256_Update(SHA256_CTX *ctx, const void *data, size_t length)
#ifndef MD5_DIGEST_LENGTH
#define MD5_DIGEST_LENGTH 16
#endif
#include "md5.h" /*(for legacy li_MD5_*() name mangling)*/
#include "algo_md5.h" /*(for legacy li_MD5_*() name mangling)*/
#else
#include "md5.h"
#include "algo_md5.h"
#endif