Add WOLFSSL_SP_NO_DYN_STACK macro to avoid compilation error in CC-RX compiler
This commit is contained in:
parent
42b73ee326
commit
cc747f0094
@ -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 -----------------------------------------------
|
||||
*
|
||||
|
@ -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 -----------------------------------------------
|
||||
|
@ -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 -----------------------------------------------
|
||||
*
|
||||
*
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user