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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Sep 17 11:18:10 CEST 2018


Nikos Mavrogiannopoulos commented on a discussion on tests/suite/resume-with-previous-stek.c:

> +
> +	do {
> +		ret = gnutls_bye(session, GNUTLS_SHUT_RDWR);
> +	} while (ret == GNUTLS_E_AGAIN || ret == GNUTLS_E_INTERRUPTED);
> +
> +	return 0;
> +}
> +
> +static void client(int fd, int *resume, unsigned rounds, const char *prio)
> +{
> +	gnutls_session_t session;
> +	gnutls_datum_t session_data;
> +	gnutls_certificate_credentials_t clientx509cred = NULL;
> +
> +	for (unsigned i = 0; i < rounds; i++) {
> +		gnutls_certificate_allocate_credentials(&clientx509cred);

I see it is already done (top caller was the `doit` function).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/695#note_101770362
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/20180917/c2255ac9/attachment.html>


More information about the Gnutls-devel mailing list