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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sun Sep 16 22:12:30 CEST 2018


Ander Juaristi 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);

Sorry, I don't understand what you mean by "move the testing pattern on the top caller".

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


More information about the Gnutls-devel mailing list