Skip to content

Commit f767bd2

Browse files
committed
.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.
1 parent d1ba8eb commit f767bd2

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/symbol-prefixes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
config: [
20-
'--enable-all CFLAGS=-DWOLFSSL_API_PREFIX_MAP'
20+
'--enable-all --enable-mlkem --enable-mldsa --enable-xmss --enable-lms --enable-acert --with-sys-crypto-policy CFLAGS=-DWOLFSSL_API_PREFIX_MAP'
2121
]
2222
name: make and analyze
2323
if: github.repository_owner == 'wolfssl'

wolfssl/ssl.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@
4545
#include "wolfssl/wolfcrypt/asn.h"
4646
#endif
4747

48+
#if defined(NO_TLS) && !defined(WOLFSSL_NO_TLS12)
49+
/* in NO_TLS builds, WOLFSSL_NO_TLS12 must be defined in the TLS layer, but
50+
* must not be defined in the crypto layer, to allow building the TLS12
51+
* KDFs.
52+
*/
53+
#define WOLFSSL_NO_TLS12
54+
#endif
55+
4856
/* For the types */
4957
#if defined(OPENSSL_EXTRA) || defined(OPENSSL_EXTRA_X509_SMALL)
5058
#include <wolfssl/openssl/compat_types.h>

0 commit comments

Comments
 (0)