tlsx: expose TLSX_Push

To be able to implement extension in separate compilation unit
This commit is contained in:
Marco Oliverio
2022-08-10 16:40:57 +02:00
parent bf9f4b88e4
commit 171af05e96
2 changed files with 3 additions and 1 deletions

View File

@@ -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);