Closed Bug 646610 Opened 13 years ago Closed 13 years ago

Remove obsolete comment from security/nss/lib/freebl/sha512.c

Categories

(NSS :: Libraries, defect, P2)

3.12.3
defect

Tracking

(Not tracked)

RESOLVED FIXED
3.12.10

People

(Reporter: mark, Assigned: mark)

Details

Attachments

(1 file)

Since bug 431958, security/nss/lib/freebl/sha512.c uses inline assembly for byte-swapping on x86 and x86-64 when being built by GCC. The #else comment in this block referring to "windows [and] Linux PC" is obsolete. The C code in the #else block will now be used when MSVC intrinsics and CPU-specific MSVC or GCC inline assembly aren’t available. This determination is less OS-biased than it had been in the past, and the comment should be removed.
Attachment #523101 - Flags: review?(wtc)
Attachment #523101 - Attachment is patch: true
Attachment #523101 - Attachment mime type: application/octet-stream → text/plain
Assignee: nobody → mark
Status: NEW → ASSIGNED
Comment on attachment 523101 [details] [diff] [review]
Remove obsolete comment

r=wtc.

Patch checked in on the NSS trunk (NSS 3.13) and NSS_3_12_BRANCH
(NSS 3.12.10).

Checking in sha512.c;
/cvsroot/mozilla/security/nss/lib/freebl/sha512.c,v  <--  sha512.c
new revision: 1.18; previous revision: 1.17
done

Checking in sha512.c;
/cvsroot/mozilla/security/nss/lib/freebl/sha512.c,v  <--  sha512.c
new revision: 1.14.6.2; previous revision: 1.14.6.1
done
Attachment #523101 - Flags: review?(wtc) → review+
The defined(LINUX) to defined(__GNUC__) change was made to sha512.c
in rev. 1.13 in NSS 3.12.3.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.12.10
Version: trunk → 3.12.3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: