[gnutls-devel] GnuTLS | Session ticket key rotation with TOTP (!695)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Sep 14 14:20:50 CEST 2018


Nikos Mavrogiannopoulos started a new discussion on tests/suite/resume-with-stek-expiration.c:

> +		gnutls_deinit(session);
> +	}
> +}
> +
> +static void server(int fd, int *resumption_should_succeed, unsigned num_sessions, const char *prio)
> +{
> +	int retval;
> +	gnutls_session_t session;
> +	gnutls_certificate_credentials_t serverx509cred;
> +	gnutls_datum_t session_ticket_key = { NULL, 0 };
> +
> +	global_init();
> +
> +	if (gnutls_session_ticket_key_generate(&session_ticket_key) < 0) {
> +		fail("server: Could not generate session ticket key\n");
> +		goto end;

fail calls exit thus the goto is unused.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/695#note_101422345
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/20180914/15b6cf0e/attachment-0001.html>


More information about the Gnutls-devel mailing list