Closed Bug 1295163 Opened 8 years ago Closed 7 years ago

TLS 1.3: anti-replay for 0-RTT

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ekr, Assigned: mt)

References

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Assignee: nobody → ekr
Assignee: ekr → martin.thomson
Summary: TLS 1.3: Enforce limits on ticket_age for anti-replay → TLS 1.3: anti-replay for 0-RTT
While investigating another bug, I have noticed that these tests were not instantiated, see patch.
Attachment #8915370 - Flags: review?(martin.thomson)
Comment on attachment 8915370 [details] [diff] [review]
1-Bug_1295163___Actually_enable_TlsZeroRttReplayTest.patch

Review of attachment 8915370 [details] [diff] [review]:
-----------------------------------------------------------------

::: gtests/ssl_gtest/ssl_0rtt_unittest.cc
@@ +135,5 @@
> +#ifndef NSS_DISABLE_TLS_1_3
> +INSTANTIATE_TEST_CASE_P(Tls13ZeroRttReplayTest, TlsZeroRttReplayTest,
> +                        TlsConnectTestBase::kTlsVariantsStream);
> +#endif
> +

This really needs to go at the end of the file.
Attachment #8915370 - Flags: review?(martin.thomson) → review+
v2: moved to end of file, still builds and passes the Tls13ZeroRttReplayTest/TlsZeroRttReplayTest.* tests.
Attachment #8915370 - Attachment is obsolete: true
Attachment #8915998 - Flags: review?(martin.thomson)
https://hg.mozilla.org/projects/nss/rev/a0cb1758c33fc179135d5688851105e8812375ee

I made a minor change: the test tests all variants.
Comment on attachment 8915998 [details] [diff] [review]
1-Bug_1295163___Actually_enable_TlsZeroRttReplayTest.patch

Review of attachment 8915998 [details] [diff] [review]:
-----------------------------------------------------------------

Oops, left the flag set.
Attachment #8915998 - Flags: review?(martin.thomson)
Attachment #8915998 - Flags: review+
Attachment #8915998 - Flags: checked-in+
Depends on: 1418948
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: