On 07/02/2020 14:52, Nikos Mavrogiannopoulos wrote: > On Fri, Feb 7, 2020 at 2:45 PM Jeremy Harris <[email protected]> wrote: >> gnutls_session_get_desc() seems to not be usefully >> callable immediately after gnutls_handshake() returns, >> with False Start in play, which is reasonable. >> However it also isn't returning useful info when called >> during a handshake-done callback set up with >> >> gnutls_handshake_set_hook_function(state->session, >> GNUTLS_HANDSHAKE_FINISHED, GNUTLS_HOOK_POST, ... >> >> I suspect the cause is the obvious flag >> "initial_negotiation_completed", set in handshake_client() >> only after the state-machine has terminated.
>> Could the info be made accessible earlier? How early? > > Out of curiosity what is the reason you would like to know whether > parameters in relation to false start are acceptable early? These are just the general-info items for the connection, for observability and reporting - the ciphersuite etc. I'm not needing to modify anything. Absent False Start, the obvious time to gather them is once the connection is made - ie. right after gnutls_handshake() returns - but obviously that no longer works. -- Cheers, Jeremy _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
