@@ -1887,7 +1887,7 @@ int TLSX_ALPN_GetRequest(TLSX* extensions, void** data, word16 *dataSz)
18871887
18881888#else /* HAVE_ALPN */
18891889
1890- #define ALPN_FREE_ALL (list , heap )
1890+ #define ALPN_FREE_ALL (list , heap ) WC_DO_NOTHING
18911891#define ALPN_GET_SIZE (list ) 0
18921892#define ALPN_WRITE (a , b ) 0
18931893#define ALPN_PARSE (a , b , c , d ) 0
@@ -2504,7 +2504,7 @@ int TLSX_SNI_GetFromBuffer(const byte* clientHello, word32 helloSz,
25042504
25052505#else
25062506
2507- #define SNI_FREE_ALL (list , heap )
2507+ #define SNI_FREE_ALL (list , heap ) WC_DO_NOTHING
25082508#define SNI_GET_SIZE (list ) 0
25092509#define SNI_WRITE (a , b ) 0
25102510#define SNI_PARSE (a , b , c , d ) 0
@@ -2844,7 +2844,7 @@ int TLSX_UseTrustedCA(TLSX** extensions, byte type,
28442844
28452845#else /* HAVE_TRUSTED_CA */
28462846
2847- #define TCA_FREE_ALL (list , heap )
2847+ #define TCA_FREE_ALL (list , heap ) WC_DO_NOTHING
28482848#define TCA_GET_SIZE (list ) 0
28492849#define TCA_WRITE (a , b ) 0
28502850#define TCA_PARSE (a , b , c , d ) 0
@@ -2938,7 +2938,7 @@ int TLSX_UseMaxFragment(TLSX** extensions, byte mfl, void* heap)
29382938
29392939#else
29402940
2941- #define MFL_FREE_ALL (a , b )
2941+ #define MFL_FREE_ALL (a , b ) WC_DO_NOTHING
29422942#define MFL_GET_SIZE (a ) 0
29432943#define MFL_WRITE (a , b ) 0
29442944#define MFL_PARSE (a , b , c , d ) 0
@@ -3445,7 +3445,7 @@ int TLSX_UseCertificateStatusRequest(TLSX** extensions, byte status_type,
34453445
34463446#else
34473447
3448- #define CSR_FREE_ALL (data , heap )
3448+ #define CSR_FREE_ALL (data , heap ) WC_DO_NOTHING
34493449#define CSR_GET_SIZE (a , b ) 0
34503450#define CSR_WRITE (a , b , c ) 0
34513451#define CSR_PARSE (a , b , c , d ) 0
@@ -3891,7 +3891,7 @@ int TLSX_UseCertificateStatusRequestV2(TLSX** extensions, byte status_type,
38913891
38923892#else
38933893
3894- #define CSR2_FREE_ALL (data , heap )
3894+ #define CSR2_FREE_ALL (data , heap ) WC_DO_NOTHING
38953895#define CSR2_GET_SIZE (a , b ) 0
38963896#define CSR2_WRITE (a , b , c ) 0
38973897#define CSR2_PARSE (a , b , c , d ) 0
@@ -5113,18 +5113,18 @@ int TLSX_UsePointFormat(TLSX** extensions, byte format, void* heap)
51135113
51145114#else
51155115
5116- #define EC_FREE_ALL (list , heap )
5116+ #define EC_FREE_ALL (list , heap ) WC_DO_NOTHING
51175117#define EC_GET_SIZE (list ) 0
51185118#define EC_WRITE (a , b ) 0
51195119#define EC_PARSE (a , b , c , d , e ) 0
5120- #define EC_VALIDATE_REQUEST (a , b )
5120+ #define EC_VALIDATE_REQUEST (a , b ) WC_DO_NOTHING
51215121
5122- #define PF_FREE_ALL (list , heap )
5122+ #define PF_FREE_ALL (list , heap ) WC_DO_NOTHING
51235123#define PF_GET_SIZE (list ) 0
51245124#define PF_WRITE (a , b ) 0
51255125#define PF_PARSE (a , b , c , d ) 0
5126- #define PF_VALIDATE_REQUEST (a , b )
5127- #define PF_VALIDATE_RESPONSE (a , b )
5126+ #define PF_VALIDATE_REQUEST (a , b ) WC_DO_NOTHING
5127+ #define PF_VALIDATE_RESPONSE (a , b ) WC_DO_NOTHING
51285128
51295129#endif /* HAVE_SUPPORTED_CURVES */
51305130
@@ -5319,7 +5319,7 @@ int TLSX_AddEmptyRenegotiationInfo(TLSX** extensions, void* heap)
53195319
53205320#else
53215321
5322- #define SCR_FREE_ALL (a , heap )
5322+ #define SCR_FREE_ALL (a , heap ) WC_DO_NOTHING
53235323#define SCR_GET_SIZE (a , b ) 0
53245324#define SCR_WRITE (a , b , c ) 0
53255325#define SCR_PARSE (a , b , c , d ) 0
@@ -5525,8 +5525,8 @@ int TLSX_UseSessionTicket(TLSX** extensions, SessionTicket* ticket, void* heap)
55255525
55265526#else
55275527
5528- #define WOLF_STK_FREE (a , b )
5529- #define WOLF_STK_VALIDATE_REQUEST (a )
5528+ #define WOLF_STK_FREE (a , b ) WC_DO_NOTHING
5529+ #define WOLF_STK_VALIDATE_REQUEST (a ) WC_DO_NOTHING
55305530#define WOLF_STK_GET_SIZE (a , b ) 0
55315531#define WOLF_STK_WRITE (a , b , c ) 0
55325532#define WOLF_STK_PARSE (a , b , c , d ) 0
@@ -5882,7 +5882,7 @@ static int TLSX_UseSRTP(TLSX** extensions, word16 profiles, void* heap)
58825882 #define SRTP_WRITE TLSX_UseSRTP_Write
58835883 #define SRTP_GET_SIZE TLSX_UseSRTP_GetSize
58845884#else
5885- #define SRTP_FREE (a , b )
5885+ #define SRTP_FREE (a , b ) WC_DO_NOTHING
58865886 #define SRTP_PARSE (a , b , c , d ) 0
58875887 #define SRTP_WRITE (a , b ) 0
58885888 #define SRTP_GET_SIZE (a ) 0
@@ -9657,7 +9657,7 @@ int TLSX_KeyShare_DeriveSecret(WOLFSSL *ssl)
96579657
96589658#else
96599659
9660- #define KS_FREE_ALL (a , b )
9660+ #define KS_FREE_ALL (a , b ) WC_DO_NOTHING
96619661#define KS_GET_SIZE (a , b ) 0
96629662#define KS_WRITE (a , b , c ) 0
96639663#define KS_PARSE (a , b , c , d ) 0
@@ -10167,7 +10167,7 @@ int TLSX_PreSharedKey_Use(TLSX** extensions, const byte* identity, word16 len,
1016710167
1016810168#else
1016910169
10170- #define PSK_FREE_ALL (a , b )
10170+ #define PSK_FREE_ALL (a , b ) WC_DO_NOTHING
1017110171#define PSK_GET_SIZE (a , b , c ) 0
1017210172#define PSK_WRITE (a , b , c , d ) 0
1017310173#define PSK_PARSE (a , b , c , d ) 0
0 commit comments