Welcome! Log In Create A New Profile

Advanced

Re: [PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Maxim Dounin
March 20, 2023 08:00PM
Hello!

On Mon, Mar 20, 2023 at 07:48:13PM +0400, Sergey Kandaurov wrote:

> > On 10 Mar 2023, at 09:00, Maxim Dounin <mdounin@mdounin.ru> wrote:
> >
> > # HG changeset patch
> > # User Maxim Dounin <mdounin@mdounin.ru>
> > # Date 1678424073 -10800
> > # Fri Mar 10 07:54:33 2023 +0300
> > # Node ID 946c3b39d1f9adf3f96f1c04963539ecd1c63a8f
> > # Parent 49d12f8c4cf69e1cbe7feccae3b0ea1ac2ca8c2f
> > Tests: adapted session reuse tests to work with TLSv1.3.
> >
> > In TLSv1.3, session tickets are sent after the handshake, and saving session
> > right after the handshake is not going to work. To properly test session
> > resumption, sessions are now saved after some data exchange.
> >
> > diff --git a/mail_ssl.t b/mail_ssl.t
> > --- a/mail_ssl.t
> > +++ b/mail_ssl.t
> > @@ -182,24 +182,28 @@ my $s = Test::Nginx::IMAP->new();
> > my ($ssl, $ses);
> >
> > ($s, $ssl) = get_ssl_socket(8145);
> > +Net::SSLeay::read($ssl);
> > $ses = Net::SSLeay::get_session($ssl);
> >
> > [..]
>
> Good for me.

Thanks, pushed to http://mdounin.ru/hg/nginx-tests.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[PATCH 1 of 3] Tests: style

Maxim Dounin 501 March 10, 2023 12:02AM

[PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Maxim Dounin 115 March 10, 2023 12:02AM

Re: [PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Maxim Dounin 110 March 11, 2023 04:32AM

Re: [PATCH 2 of 3] Tests: handling of EAGAIN from sysread() with IO::Socket::SSL

Sergey Kandaurov 105 March 20, 2023 11:36AM

[PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Maxim Dounin 116 March 10, 2023 12:02AM

Re: [PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Sergey Kandaurov 95 March 20, 2023 11:50AM

Re: [PATCH 3 of 3] Tests: adapted session reuse tests to work with TLSv1.3

Maxim Dounin 146 March 20, 2023 08:00PM

Re: [PATCH 1 of 3] Tests: style

Sergey Kandaurov 102 March 20, 2023 11:36AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready