Merge pull request #3173 from cesanta/chachaleak

Avoid chacha20 header leaking its redefinitions
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2025-06-18 10:47:19 +01:00
commit f71cc3ebc3
6 files changed
+370 -359

No files matched your search

+3
View File
@@ -6,7 +6,9 @@
#include "arch.h"
#include "config.h"
#include "tls.h"
#if MG_TLS == MG_TLS_BUILTIN
#ifndef __PORTABLE_8439_H
#define __PORTABLE_8439_H
#if defined(__cplusplus)
@@ -108,3 +110,4 @@ PORTABLE_8439_DECL size_t mg_chacha20_poly1305_decrypt(
}
#endif
#endif
#endif
+2
View File
@@ -1,4 +1,6 @@
#include "log.h"
#include "printf.h"
#include "profile.h"
#include "tls.h"
#if MG_TLS == MG_TLS_MBED