Re: [openssl-users] Confused about client side session caching

2018-06-08 Thread Viktor Dukhovni
> On Jun 8, 2018, at 4:03 AM, Matt Caswell wrote: > > I think new_session_cb and remove_session_cb should work in 1.0.2 on > clients. This has worked since before 0.9.8. -- Viktor. -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Re: [openssl-users] Confused about client side session caching

2018-06-08 Thread Matt Caswell
On 08/06/18 10:18, Angus Robertson - Magenta Systems Ltd wrote: >> The get_session_cb is only ever called for servers. The >> new_sesion_cb and remove_session_cb can be called for clients and >> servers. >> >> When you refer to the the "TLSv1.3 notes" do you mean this page? >> https://wiki.open

Re: [openssl-users] Confused about client side session caching

2018-06-08 Thread Angus Robertson - Magenta Systems Ltd
> The get_session_cb is only ever called for servers. The > new_sesion_cb and remove_session_cb can be called for clients and > servers. > > When you refer to the the "TLSv1.3 notes" do you mean this page? > https://wiki.openssl.org/index.php/TLS1.3 Yes, sorry I should have said SSL_CTX_sess_set

Re: [openssl-users] Confused about client side session caching

2018-06-08 Thread Matt Caswell
On 07/06/18 19:48, Angus Robertson - Magenta Systems Ltd wrote: > I'm reading the TLSv1.3 notes that suggest SSL_CTX_sess_set_get_cb is > called for both clients and servers, but am confused by the > documentation. > The get_session_cb is only ever called for servers. The new_sesion_cb and re

[openssl-users] Confused about client side session caching

2018-06-07 Thread Angus Robertson - Magenta Systems Ltd
I'm reading the TLSv1.3 notes that suggest SSL_CTX_sess_set_get_cb is called for both clients and servers, but am confused by the documentation. The 1.1.1 manual page still starts 'provide callback functions for server side external session caching' with no mention of clients. I'm updating co