[PATCH] session ticket support
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Jul 29 19:57:25 CEST 2009
Daiki Ueno wrote:
> When I changed _gnutls_recv_new_session_ticket to generate new session
> ID, it started to work. I attach the new patch, which includes:
>
> * Adaption for gnutls-cli/gnutls-serv.
>
> Session ticket support is enabled by default, while it can be disabled
> by --noticket option. You can test the interoperability with:
>
> $ gnutls-serv -p 10000 --nodb --x509cafile x509-ca.pem \
> --x509keyfile x509-server-key.pem --x509certfile x509-server.pem
> $ openssl s_client -connect localhost:10000 -reconnect
>
> and
>
> $ openssl s_server -accept 10000 -CAfile x509-ca.pem \
> -key x509-server-key.pem -cert x509-server.pem
> $ gnutls-cli -p 10000 --resume localhost
>
> * New interface functions as you suggested.
Thank you. I'll check it as soon.
All best,
Nikos
More information about the Gnutls-devel
mailing list