Closed Bug 59423 Opened 25 years ago Closed 25 years ago

Porting NSS 3.1 to Mac requires code changes..

Categories

(NSS :: Libraries, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: javi, Assigned: javi)

Details

Attachments

(3 files)

I'm opening this bug as a tracking bug for the port of NSS 3.1 I'll be attaching a diff of the changes I've currently made.
One thing I should note, is that I haven't ported the loadable root cert code yet.
I will wait to check in these fixes until nelsonb fixes another bug in MPI.
Who's going to review this for inclusion into the NSS 3.1 branch? Or since it's already checked into the trunk, can I assume it's safe for the branch? (I highly doubt that though.) I'm just waiting on someone from the NSSS team to say it's OK to check this into the branch.
Javi, is attachment id=18901 the exact patch you checked in? Relyea, Nelson, or I can review the patch. The patch must be reviewed before it can be checked in on the NSS 3.1 branch.
One of the tasks on my plate is to review the changes that have been made to NSS trunk since the NSS 3.1 branch was created to see which changes need to be merged onto the branch. I believe that all the MPI changes will be merged to the branch. So, I propose to handle the merger of all MPI changes, including Javi's, to the branch. That leaves the changes to macbuild/NSSCommon.h and pk11wrap/pk11sdr.c for someone to review.
I approve the changes to pk11sdr.c
I approve the changes to macbuild/NSSCommon.h.
I'm currently trying to port my changes to the NSS 3.1 branch and have encountered some problems I didn't see while porting the tip. Hopefully the changes are to my build environment and can be resolved without anymore code changes. Regardless, once I get the branch port working I'll attach a new patch along with all of the projects that have to be added to the branch to get loadable root certs working as well.
Ignore the the patch attached at 15:15, it's the original patch. I'll attach the branch patch soon.
For some reason, once I started to work with a NSS_3_1_BRANCH, ULONG_MAX and some other system defines were no longer being defined in the MPI file. So the diff for mpi.h is slightly different than the original diff, but everything else should be the same. The new patch also mentions which projects have to be carried over from the trunk to the branch.
I figured out what I did wrong, turns out that I put the #include <limits.h> in the ifdef block when I shouldn't have. So MPI code diffs staty the same when compared to what's currently checked into the tip of NSS. The reviews that were approved by wtc and thayes have been checked in to the branch. The updated Mac projects were also added to the branch. Once nelsonb reviews and updates the MPI code to the branch, We'll be ready for a test of the branch for use on a Mac.
I merged all the MPI and SSL changes since the creation of the NSS_3_1_BRANCH from the trunk onto the branch. This fixes several problems, including the prime generation bug and the lock bug in TLS.
Javi, I'm reassigning this to you because I think you already did all the work for this, and this is now resolved/fixed. I expect you'll mark it resolved.
Assignee: nelsonb → javi
nelsonb is correct, this was fixed a while back.
Status: NEW → RESOLVED
Closed: 25 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: