wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.36k stars 834 forks source link

20241116-fixes #8195

Closed douzzer closed 4 days ago

douzzer commented 5 days ago

add .wolfssl_known_macro_extras;

src/wolfio.c: #include <errno.h> if necessary;

wolfcrypt/src/asn.c: gate WOLFSSL_MSG_EX() uses on defined(DEBUG_WOLFSSL), for pedantic C89 compatibility (no variadic macros);

wolfssl/wolfcrypt/wc_port.h: refine setup for XFENCE().

supersedes #8157 and #8163

tested with wolfssl-multi-test.sh ... super-quick-check

Note that .wolfssl_known_macro_extras is used by a new subtest in wolfssl-multi-test.sh ... check-source-text that checks for misspelled macros. The file contains only those macros that are not #defined or #undefed anywhere else in the repo, but are used in macro expressions at least once.