[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:19:48 CEST 2018


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

> +	if (child < 0) {
> +		perror("fork");
> +		fail("fork failed");
> +		return;
> +	}
> +
> +	if (child) {
> +		/* We are the parent */
> +		server(sockets[0], resumption_should_succeed, 4, prio);
> +		waitpid(child, &status, 0);
> +		check_wait_status(status);
> +		gnutls_global_deinit();
> +	} else {
> +		/* We are the child */
> +		client(sockets[1], resumption_should_succeed, 4, prio);
> +		gnutls_global_deinit();

that looks wrong as client doesn't call global_init.

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


More information about the Gnutls-devel mailing list