mirror of https://github.com/wolfSSL/wolfssl.git
Add WOLFSSL_SP_NO_DYN_STACK macro to avoid compilation error in CC-RX compiler
parent
42b73ee326
commit
cc747f0094
|
@ -61,6 +61,17 @@
|
||||||
#define SINGLE_THREADED
|
#define SINGLE_THREADED
|
||||||
/*#define FREERTOS*/
|
/*#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 -----------------------------------------------
|
/*-- Cipher related definitions -----------------------------------------------
|
||||||
*
|
*
|
||||||
|
|
|
@ -63,6 +63,17 @@
|
||||||
#define FREERTOS_TCP
|
#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 -----------------------------------------------
|
/*-- Cipher related definitions -----------------------------------------------
|
||||||
|
|
|
@ -77,6 +77,18 @@
|
||||||
#define WOLFSSL_USER_IO
|
#define WOLFSSL_USER_IO
|
||||||
#endif
|
#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 -----------------------------------------------
|
/*-- Cipher related definitions -----------------------------------------------
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
|
|
@ -1913,8 +1913,15 @@ WOLFSSL_LOCAL int tsip_Tls13SendCertVerify(WOLFSSL* ssl)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
|
if (isRsa) {
|
||||||
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
|
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
#if defined(WOLFSSL_CHECK_SIG_FAULTS)
|
||||||
|
ret = tsipImportPublicKey(tuc, tuc->wrappedKeyType);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
if (isRsa) {
|
if (isRsa) {
|
||||||
|
|
Loading…
Reference in New Issue