Browse Source

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

master
Glenn Strauss 1 year ago
parent
commit
6c8160e5a4
  1. 3
      src/CMakeLists.txt
  2. 6
      src/Makefile.am
  3. 3
      src/SConscript
  4. 2
      src/algo_md5.c
  5. 0
      src/algo_md5.h
  6. 2
      src/meson.build
  7. 4
      src/sys-crypto-md.h

3
src/CMakeLists.txt

@ -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

6
src/Makefile.am

@ -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 \

3
src/SConscript

@ -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 \

2
src/md5.c → src/algo_md5.c

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

0
src/md5.h → src/algo_md5.h

2
src/meson.build

@ -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',

4
src/sys-crypto-md.h

@ -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

Loading…
Cancel
Save