Closed
Bug 52399
Opened 25 years ago
Closed 25 years ago
*BSD needs to define GiveSytemInfo in unix_rand.c to compile NSS 3.1
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
3.1
People
(Reporter: tstromberg, Assigned: wtc)
References
()
Details
Attachments
(1 file)
|
540 bytes,
patch
|
Details | Diff | Splinter Review |
build breaks in FreeBSD 5.0 for NSS 3.1 because GiveSystemInfo, GetHighResClock,
etc. are not defined in unix_rand.c. The guilty line is line 79:
#if defined(SCO) || defined(UNIXWARE) || defined(BSDI)
which should be || defined(BSD)
build breakage follows:
-L../../../../dist/FreeBSD5.0_OPT.OBJ/lib/ -lplc4 -lplds4 -lnspr4 -lc_r
/usr/lib/libc.so: WARNING! setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
/usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using
mkstemp()
../../../../dist/FreeBSD5.0_OPT.OBJ/lib/libsecutil.a(sysrand.o): In function
RNG_GetNoise':
sysrand.o(.text+0x6d): undefined reference to GetHighResClock'
../../../../dist/FreeBSD5.0_OPT.OBJ/lib/libsecutil.a(sysrand.o): In function
RNG_SystemInfoForRNG':
sysrand.o(.text+0x371): undefined reference to GiveSystemInfo'
sysrand.o(.text+0x462): undefined reference to GiveSystemInfo'
gmake[2]: *** [FreeBSD5.0_OPT.OBJ/certcgi] Error 1
gmake[2]: Leaving directory
/usr/src/moz-crypto/mozilla/security/nss/cmd/certcgi'
gmake[1]: *** [libs] Error 2
gmake[1]: Leaving directory /usr/src/moz-crypto/mozilla/security/nss/cmd'
| Assignee | ||
Updated•25 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 3.1
| Assignee | ||
Comment 1•25 years ago
|
||
| Assignee | ||
Comment 2•25 years ago
|
||
The patch is checked into rev. 1.3 of
mozilla/security/nss/lib/util/unix_rand.c.
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.
Description
•