Closed Bug 1324838 Opened 8 years ago Closed 8 years ago

Enable TLS 1.3 short header extension in Firefox build

Categories

(NSS :: Build, defect)

3.18
defect
Not set
normal

Tracking

(firefox51 fixed, firefox52 fixed, firefox53 unaffected)

RESOLVED FIXED
Tracking Status
firefox51 --- fixed
firefox52 --- fixed
firefox53 --- unaffected

People

(Reporter: ekr, Assigned: ekr)

Details

Attachments

(1 file, 2 obsolete files)

Attached file Makefile.in.txt (obsolete) —
This is just a build flag, but we need it in Firefox 51 because that's pre-gyp

Ted, sorry but this is high priority because I need to uplift it as part of 
https://bugzilla.mozilla.org/show_bug.cgi?id=1305970
Attachment #8820352 - Flags: review?(ted)
Attached patch make.flags (obsolete) — Splinter Review
Attachment #8820352 - Flags: review?(ted)
Comment on attachment 8820473 [details] [diff] [review]
make.flags

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

GPS, this is just frobbing a flag but I need a signoff from a build peer. It goes with:
https://bugzilla.mozilla.org/show_bug.cgi?id=1323104
Attachment #8820473 - Flags: review?(gps)
Attached patch make.flagsSplinter Review
Attachment #8820352 - Attachment is obsolete: true
Attachment #8820473 - Attachment is obsolete: true
Attachment #8820473 - Flags: review?(gps)
Attachment #8820474 - Flags: review?(gps)
Attachment #8820474 - Flags: review?(mh+mozilla)
Comment on attachment 8820474 [details] [diff] [review]
make.flags

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

::: config/external/nss/Makefile.in
@@ +280,5 @@
>  NSS_XCFLAGS += $(filter -arch:%,$(CFLAGS))
>  endif
>  
> +# Enable short header experiment. Firefox only.
> +NSS_XCFLAGS += -DNSS_ENABLE_TLS13_SHORT_HEADERS

Any reason you went with NSS_XCFLAGS and not DEFAULT_GMAKE_FLAGS? This file is dead in central, so as long as it works, I don't really care about the semantic difference between the 2 variables.
Attachment #8820474 - Flags: review?(mh+mozilla)
Attachment #8820474 - Flags: review?(gps)
Attachment #8820474 - Flags: review+
Per our IRC discussion, DEFAULT_GMAKE_FLAGS sets Make variables, but I need to set CFLAGS.
Comment on attachment 8820474 [details] [diff] [review]
make.flags

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

Liz, Ritu, per our discussion earlier today, this is the trivial Firefox patch that goes with the NSS uplift which Kai will be doing shortly.
Attachment #8820474 - Flags: approval-mozilla-aurora?
Comment on attachment 8820474 [details] [diff] [review]
make.flags

AIUI the rest of this landed earlier today.  Enable tls1.3 short headers in aurora52.
Attachment #8820474 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Thanks for asking. No it does not because the build system changed between 52 and 53
Comment on attachment 8820474 [details] [diff] [review]
make.flags

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

Now that we are uplifting NSS 3.28 to Beta, this should be uplifted as well. It is a no-op until the 3.28 uplift happens so it can happen now.
Attachment #8820474 - Flags: approval-mozilla-beta?
Comment on attachment 8820474 [details] [diff] [review]
make.flags

Let's land this for beta 11 as discussed, as part of the NSS update/ TLS 1.3 move.
Attachment #8820474 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee: nobody → ekr
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: