Skip to content

Commit 905f71d

Browse files
committed
Fix with macro redefinition error if building with NO_WOLFSSL_ALLOC_ALIGN.
1 parent f7595cc commit 905f71d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cyassl/ssl.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,9 @@
700700
* wrapper around macros until they are changed in cyassl code
701701
* needs investigation in regards to macros in fips
702702
*/
703-
#define NO_WOLFSSL_ALLOC_ALIGN NO_CYASSL_ALLOC_ALIGN /* @TODO */
703+
#ifdef NO_CYASSL_ALLOC_ALIGN
704+
#define NO_WOLFSSL_ALLOC_ALIGN NO_CYASSL_ALLOC_ALIGN
705+
#endif
704706

705707

706708
/* examples/client/client.h */

0 commit comments

Comments
 (0)