Closed Bug 123917 Opened 23 years ago Closed 23 years ago

Remove non-NSS_3_4 codepaths

Categories

(Core Graveyard :: Security: UI, defect, P2)

1.0 Branch
defect

Tracking

(Not tracked)

VERIFIED FIXED
psm2.2

People

(Reporter: KaiE, Assigned: KaiE)

References

Details

Attachments

(1 file, 2 obsolete files)

The codebase now contains code sections, which are conditionally defined based on whether NSS_3_4 is set or not. In the Makefiles we hardcoded NSS_3_4 to be always enabled. We need to remove that definitions and remove the old code.
Attached patch Suggested patch (obsolete) — Splinter Review
Javi, I guess when can remove file PIPNSSCommon.h after checking this patch in.
Attached patch Corrected patch (obsolete) — Splinter Review
The previous patch had a replacement fault.
Attachment #69431 - Attachment is obsolete: true
Comment on attachment 69433 [details] [diff] [review] Corrected patch >Index: mozilla/config/config.mk >@@ -169,9 +169,6 @@ > # > # NSS libs needed for final link in static build > # >-NSS_3_4=1 Kai, I just checked in a patch for config/config.mk. I believe the above is the only change you need to make to this file now. Please attach an updated patch and I'll review it. Thanks.
I'd rather not remove PIPNSS* files from manager/ssl/macbuild. Just remove the #define NSS_3_4 1 code in PIPNSSCommon.h and leave everything else as is. That way next time we have to add a define to just the PIPNSS code, we can add it back to PIPNSSCommon.h
We should delay this until bug 124211 is fixed, because it seems that will change the current NSS_3_4 usage. Adding dependency.
Depends on: 124211
nsbeta1
Keywords: nsbeta1
Version: 1.01 → 2.2
Keywords: nsbeta1nsbeta1+
Priority: -- → P2
Target Milestone: --- → 2.2
Keywords: nsbeta1+nsbeta1-
*** Bug 123066 has been marked as a duplicate of this bug. ***
Keywords: nsbeta1
Keywords: nsbeta1-
Let's do that right after 1.1 is out.
Keywords: nsbeta1nsbeta1+
Attached patch Patch v3Splinter Review
Created an updated patch that applies to the current trunk. The patch is mostly identical to what you already have looked at, besides changed contetxt and some changes already having been applied meanwhile. Wan-Teh, can you please review again?
Attachment #69433 - Attachment is obsolete: true
Comment on attachment 94171 [details] [diff] [review] Patch v3 r=wtc. We should file a bug that pk11pqg.h is not C++ safe.
Attachment #94171 - Flags: review+
bug 161316 filed Alec, can you please review?
Comment on attachment 94171 [details] [diff] [review] Patch v3 sr=alecf
Attachment #94171 - Flags: superreview+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Verified per kai's comment.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Version: psm2.2 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: