mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-11 12:20:50 +02:00
.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:
@@ -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'
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user