[gnutls-devel] GnuTLS | tls1.3: server returns early on handshake when no cert is provided by client (!711)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jul 27 15:03:42 CEST 2018


Daiki Ueno started a new discussion on lib/handshake-tls13.c:

> +			IMED_RET("generate app keys", ret, 0);
>  
> -		if (session->internals.resumed != RESUME_FALSE)
> -			_gnutls_set_resumed_parameters(session);
> +			/* set traffic keys */
> +			ret = _tls13_connection_state_init(session, STAGE_APP);
> +			IMED_RET("set app keys", ret, 0);
> +		}
>  		/* fall through */
> -	case STATE112:
> -
> -		ret = _gnutls13_send_session_ticket(session, 1, AGAIN(STATE112));
> -		STATE = STATE112;
> -		IMED_RET("send session ticket", ret, 0);
> +	case STATE114:
> +		if (!(session->internals.hsk_flags & HSK_EARLY_START_USED)) {

Wouldn't it make sense to check `HSK_TLS13_TICKET_SENT` instead?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/711#note_90793220
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180727/9fb1060f/attachment-0001.html>


More information about the Gnutls-devel mailing list