mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
fix wolfSSL, switch minimal/busybox to musl+wolfssl
This commit is contained in:
1 parent
3bfabb29f8
commit
c370635fc4
10 files changed
+262
-52
No files matched your search
@@ -48,6 +48,13 @@ typedef struct {
|
||||
#endif
|
||||
} MD4_CTX;
|
||||
|
||||
/* Remap public symbols to a 3proxy-private namespace so the bundled
|
||||
implementation does not collide with OpenSSL/libcrypto's MD4 symbols
|
||||
when statically linked. Callers keep using the MD4_* names. */
|
||||
#define MD4_Init _3proxy_MD4_Init
|
||||
#define MD4_Update _3proxy_MD4_Update
|
||||
#define MD4_Final _3proxy_MD4_Final
|
||||
|
||||
extern void MD4_Init(MD4_CTX *ctx);
|
||||
extern void MD4_Update(MD4_CTX *ctx, const void *data, size_t size);
|
||||
extern void MD4_Final(unsigned char *result, MD4_CTX *ctx);
|
||||
|
||||
@@ -44,6 +44,13 @@ typedef struct {
|
||||
MD5_u32plus block[16];
|
||||
} MD5_CTX;
|
||||
|
||||
/* Remap public symbols to a 3proxy-private namespace so the bundled
|
||||
implementation does not collide with OpenSSL/libcrypto's MD5 symbols
|
||||
when statically linked. Callers keep using the MD5_* names. */
|
||||
#define MD5_Init _3proxy_MD5_Init
|
||||
#define MD5_Update _3proxy_MD5_Update
|
||||
#define MD5_Final _3proxy_MD5_Final
|
||||
|
||||
extern void MD5_Init(MD5_CTX *ctx);
|
||||
extern void MD5_Update(MD5_CTX *ctx, const void *data, unsigned long size);
|
||||
extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
|
||||
|
||||
Reference in new issue
Block a user