Closed Bug 223624 Opened 21 years ago Closed 21 years ago

Miscellaneous compiler warning fixes

Categories

(NSS :: Libraries, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(1 file)

I will attach a patch that fixes several compiler warnings.
Attached patch PatchSplinter Review
1. secutil.c: note->error is a 'long' and should match a %ld format. 2. cmsutil.c: this fprintf statment has two format strings. 3. alg1485.c: the macro MAX is redefined. Use PR_MAX instead. 4. pk11cert.c: case ecKey is not handled in the switch statement. 5. pk11skey.c: pk11_FindAttrInTemplate is used before it's declared. Please review this patch and feel free to check it in for me.
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → 3.9
It all looks good to me, except the pk11cert.c patch. I suspect the ec case needs to do SOMETHING if it's there, but I'll have to look more next week.
Comment on attachment 134096 [details] [diff] [review] Patch Thank you for the code review, Nelson. I've checked in all the changes in this patch except for the ecKey change in pk11cert.c.
Comment on attachment 134096 [details] [diff] [review] Patch I've looked at the ec patch now. It's all good.
Attachment #134096 - Flags: review+
I checked in the ecKey patch. Marked the bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: