mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-28 02:42:21 +01:00
tlsx: expose TLSX_Push
To be able to implement extension in separate compilation unit
This commit is contained in:
@@ -1307,7 +1307,7 @@ static TLSX* TLSX_New(TLSX_Type type, const void* data, void* heap)
|
||||
* Creates a new extension and pushes it to the provided list.
|
||||
* Checks for duplicate extensions, keeps the newest.
|
||||
*/
|
||||
static int TLSX_Push(TLSX** list, TLSX_Type type, const void* data, void* heap)
|
||||
int TLSX_Push(TLSX** list, TLSX_Type type, const void* data, void* heap)
|
||||
{
|
||||
TLSX* extension = TLSX_New(type, data, heap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user