Merge pull request #6314 from TakayukiMatsuo/vla2

This commit is contained in:
Chris Conlon
2023-04-19 08:11:40 -06:00
committed by GitHub
4 changed files with 42 additions and 1 deletions

View File

@ -61,6 +61,17 @@
#define SINGLE_THREADED
/*#define FREERTOS*/
/*-- Compiler related definitions ---------------------------------------------
*
* CC-RX is C99 compliant, but may not provide the features wolfSSL requires.
* This section defines macros for such cases to avoid build-time or run-time
* failures.
*
*----------------------------------------------------------------------------*/
/* CC-RX does not support variable length array */
#define WOLFSSL_SP_NO_DYN_STACK
/*-- Cipher related definitions -----------------------------------------------
*

View File

@ -63,6 +63,17 @@
#define FREERTOS_TCP
/*-- Compiler related definitions ---------------------------------------------
*
* CC-RX is C99 compliant, but may not provide the features wolfSSL requires.
* This section defines macros for such cases to avoid build-time or run-time
* failures.
*
*----------------------------------------------------------------------------*/
/* CC-RX does not support variable length array */
#define WOLFSSL_SP_NO_DYN_STACK
/*-- Cipher related definitions -----------------------------------------------

View File

@ -77,6 +77,18 @@
#define WOLFSSL_USER_IO
#endif
/*-- Compiler related definitions ---------------------------------------------
*
* CC-RX is C99 compliant, but may not provide the features wolfSSL requires.
* This section defines macros for such cases to avoid build-time or run-time
* failures.
*
*----------------------------------------------------------------------------*/
/* CC-RX does not support variable length array */
#define WOLFSSL_SP_NO_DYN_STACK
/*-- Cipher related definitions -----------------------------------------------
*
*

View File

@ -1913,7 +1913,14 @@ WOLFSSL_LOCAL int tsip_Tls13SendCertVerify(WOLFSSL* ssl)
}
if (ret == 0) {
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
if (isRsa) {
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
}
else {
#if defined(WOLFSSL_CHECK_SIG_FAULTS)
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
#endif
}
}
if (ret == 0) {