[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:11:44 CEST 2018
Ander Juaristi commented on a discussion on tests/suite/resume-with-stek-expiration.c:
> + /* Initialize TLS layer */
> + gnutls_init(&session, GNUTLS_CLIENT);
> + gnutls_priority_set_direct(session, prio, NULL);
> + /* put the anonymous credentials to the current session */
> + gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE,
> + clientx509cred);
> + gnutls_transport_set_int(session, fd);
> + if (resume_and_close(session, &session_data, resumption_should_succeed[i]) < 0)
> + return;
> + /* Wait one second */
> + sec_sleep(1);
I've done all that you said (it's trivial), but the tests fail always. If I keep it as it was, the tests always pass. I'm puzzled with this.
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/695#note_101697545
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel