Skip to content

Commit 17b948b

Browse files
committed
Added WOLFSSL_SP_NO_DYN_STACK to user_settings.h
1 parent 180d819 commit 17b948b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/user_settings.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,10 @@ extern int tolower(int c);
266266

267267
/* Memory model */
268268

269-
270-
/* Disable VLAs */
271-
#define WOLFSSL_SP_NO_DYN_STACK
269+
#ifdef WOLFSSL_SP_MATH
270+
/* Disable VLAs */
271+
#define WOLFSSL_SP_NO_DYN_STACK
272+
#endif
272273

273274
#ifndef WOLFBOOT_SMALL_STACK
274275
# ifdef WOLFSSL_SP_MATH

0 commit comments

Comments
 (0)