Topic: How to add new Key Share extension into New Session Ticket packet?
I am using the client/server example and specifically TLS 1.3
I would like to customize the New Session Ticket packet from the initial handshake, by adding an extra extension to it which will provide a DH public key parameter.
I am currently in the function
of the tls13.c file right before the
ret = SendBuffered(ssl);
line. I have tried add a new extension to my New Session Ticket message with:
but unfortunately I get for all a segmentation fault for all of them.
Why do I have this issue and how can I add that ?
Thank you in advance