Avoid chacha20 header leaking its redefinitions

This commit is contained in:
Sergio R. Caprile committed 2025-06-17 12:12:48 -03:00
1 parent 0eb8bf6b51
commit a5ebe71394
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