Closed
Bug 488992
Opened 16 years ago
Closed 16 years ago
Fix lib/freebl/win_rand.c warnings
Categories
(NSS :: Libraries, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
3.12.4
People
(Reporter: sgautherie, Assigned: julien.pierre)
References
()
Details
(Whiteboard: FIPS)
Attachments
(1 file)
519 bytes,
patch
|
nelson
:
review+
|
Details | Diff | Splinter Review |
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.2a1pre) Gecko/20090417 SeaMonkey/2.0b1pre] (experimental/_m-c_, home, optim default) (W2Ksp4)
(http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
+http://hg.mozilla.org/comm-central/rev/...)
{
win_rand.c(221) : warning C4101: 'nBytes' : unreferenced local variable
win_rand.c(444) : warning C4996: 'fopen' was declared deprecated
}
There is also some "warning C4996: '...' was declared deprecated".
Updated•16 years ago
|
Severity: normal → trivial
OS: Windows 2000 → All
Priority: -- → P4
Hardware: x86 → All
Version: trunk → 3.12.3
Assignee | ||
Comment 1•16 years ago
|
||
Serge,
Are you sure you are using 3.12.3 ?
Nelson added -DCRT_SECURE_NO_WARNINGS to the build system as part of bug 469944 . See :
http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/security/coreconf/WIN32.mk&rev=1.36#119
I believe this should prevent the C4996 warning . I don't see it on my system when building in win_rand.c .
Assignee | ||
Comment 2•16 years ago
|
||
Assignee: nobody → julien.pierre.boogz
Attachment #377011 -
Flags: review?(nelson)
Comment 3•16 years ago
|
||
You know that freebl is frozen now for FIPS evaluation, right?
Assignee | ||
Comment 4•16 years ago
|
||
Yes. But I can still submit patches. We must have a queue for bug fixes to freebl/softoken.
Reporter | ||
Comment 5•16 years ago
|
||
(In reply to comment #1)
> Are you sure you are using 3.12.3 ?
I have no idea: I compiled whatever was included in
http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
Status: NEW → ASSIGNED
Comment 6•16 years ago
|
||
(In reply to comment #5)
> I have no idea: I compiled whatever was included in
> http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
No one on the NSS team has any idea what NSS CVS tag that corresponds to,
if any. We support specific tagged versions of the source, and it seems
evident that the version you're building doesn't really match any of those
with an NSS 3.12.3 label or later. :(
Updated•16 years ago
|
Whiteboard: FIPS [Awaiting Softoken's Thaw]
Target Milestone: --- → 3.12.5
Updated•16 years ago
|
Attachment #377011 -
Flags: review?(nelson) → review+
Comment 7•16 years ago
|
||
Comment on attachment 377011 [details] [diff] [review]
Remove unused variable
Julien, I have marked this bug's whiteboard with the "magic string" that tells us this bug has a patch to be committed after softoken and freebl become unfrozen.
(In reply to comment #6)
> (In reply to comment #5)
> > I have no idea: I compiled whatever was included in
> > http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
>
> No one on the NSS team has any idea what NSS CVS tag that corresponds to,
> if any. We support specific tagged versions of the source, and it seems
> evident that the version you're building doesn't really match any of those
> with an NSS 3.12.3 label or later. :(
FWIW, it's NSS_3_12_3_BETA2 - see bug 473837.
Comment 9•16 years ago
|
||
(In reply to comment #5)
> I have no idea: I compiled whatever was included in
> http://hg.mozilla.org/mozilla-central/rev/9e06217fc471
That changeset appears to have nothing to do with NSS.
Reporter | ||
Comment 10•16 years ago
|
||
(In reply to comment #9)
> That changeset appears to have nothing to do with NSS.
It was just the m-c tip at that time: I never meant this very rev was NSS related.
Updated•16 years ago
|
Target Milestone: 3.12.5 → 3.12.4
Assignee | ||
Comment 11•16 years ago
|
||
Checking in win_rand.c;
/cvsroot/mozilla/security/nss/lib/freebl/win_rand.c,v <-- win_rand.c
new revision: 1.25; previous revision: 1.24
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Whiteboard: FIPS [Awaiting Softoken's Thaw] → FIPS
You need to log in
before you can comment on or make changes to this bug.
Description
•