Closed Bug 1584587 Opened 5 years ago Closed 5 years ago

Compile OSReauthenticator.cpp independently on Windows

Categories

(Core :: Security: PSM, task, P1)

Unspecified
Windows
task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: bugzilla, Assigned: bugzilla)

References

Details

Attachments

(1 file)

OSReauthenticator.cpp includes ntsecapi.h, which defines the UNICODE_STRING structure. Unfortunately there are other, more common SDK headers that also define UNICODE_STRING, and they make no effort to keep those definitions mutually exclusive.

I'm working on some completely unrelated code that needs to drag in one of those other definitions and ends up adding it to the global namespace via ContentParent/ContentChild. Since ntsecapi.h is the less canonical definition of the structure, I propose that on Windows we isolate OSReauthenticator.cpp so that this conflict is not triggered.

We also tweak some includes in LocalCertService.cpp that are needed now that
OSReauthenticator.cpp is not part of the unified sources.

Pushed by aklotz@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a057810d24fb
Compile OSReauthenticator.cpp via SOURCES instead of UNIFIED_SOUCES on Windows; r=keeler
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: