.github/workflows/symbol-prefixes.yml: add PQC, --enable-acert, and --with-sys-crypto-policy to configuration;

wolfssl/ssl.h: make sure WOLFSSL_NO_TLS12 is defined in the TLS layer when NO_TLS.
This commit is contained in:
Daniel Pouzzner
2025-10-09 17:33:14 -05:00
parent d1ba8eb9d0
commit f767bd2851
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
config: [
'--enable-all CFLAGS=-DWOLFSSL_API_PREFIX_MAP'
'--enable-all --enable-mlkem --enable-mldsa --enable-xmss --enable-lms --enable-acert --with-sys-crypto-policy CFLAGS=-DWOLFSSL_API_PREFIX_MAP'
]
name: make and analyze
if: github.repository_owner == 'wolfssl'
+8
View File
@@ -45,6 +45,14 @@
#include "wolfssl/wolfcrypt/asn.h"
#endif
#if defined(NO_TLS) && !defined(WOLFSSL_NO_TLS12)
/* in NO_TLS builds, WOLFSSL_NO_TLS12 must be defined in the TLS layer, but
* must not be defined in the crypto layer, to allow building the TLS12
* KDFs.
*/
#define WOLFSSL_NO_TLS12
#endif
/* For the types */
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
#include <wolfssl/openssl/compat_types.h>