Thanks for your kind support, I'll try to make it works.

Hi, I'm trying to use session ticket to do dtls resumption. I add some function in the C# wrapper so that I can call these function in C#, but it just doesn't work. After reading some source code, I found out that the "ssl->session.ticketLen" in get_SessionTicket will always be zero, which I think is because I don't trigger the support on session ticket of server correctly. My current code look like:

Client:

wolfssl_CTX_UseSessionTicket(ctx);

...

a connect

...

wolfssl_get_SessionTicket(ssl, ticket, ref ticketLen);

...

wolfssl_set_SessionTicket(ssl, ticket, ticketLen);


Server:

wolfssl.CTX_UseSessionTicket(ctx);

// no other change


Thanks smile

3

(2 replies, posted in wolfSSL)

Thanks. I'll try it out.

4

(2 replies, posted in wolfSSL)

I'm working on a client/server that verified each other, hoping that server can remember the client's certificate to boost the connection speed, and as I know, it can be done with adding SSL_VERIFY_CLIENT_ONCE into CTX_set_verify(), but the server doesn't change anything when I do so. Is this added into C# wrapper? or it is just I misunderstood something.