Closed Bug 506804 Opened 15 years ago Closed 14 years ago

libnssutil3.so and libnssdbm3.so contain no version string.

Categories

(NSS :: Libraries, defect)

3.12
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

References

(Blocks 1 open bug)

Details

(Whiteboard: [libnssutil3.so fixed in 3.12.6])

Attachments

(2 files)

libnssutil3.so and libnssdbm3.so contain no version string:
$ ident libnssutil3.so  | grep Header
$ ident libnssdbm3.so  | grep Header
$ ident libnss3.so | grep NSS
     $Header: NSS 3.12.3.1 (debug)  Jul 27 2009 16:45:46 $

This is because we don't have any .c files in
mozilla/security/nss/lib/util and mozilla/security/nss/lib/softoken/legacydb
that reference the version strings.  Here is an example of
how we do that in mozilla/security/nss/lib/ssl:
http://mxr.mozilla.org/security/ident?i=__nss_ssl_rcsid
Changing libnssdbm3 will affect FIPS code, I'm afraid
Assignee: nobody → christophe.ravel.bugs
OS: Linux → All
Hardware: x86 → All
libnssutil3.so doesn't have a GetVersion or VersionCheck function,
so I added the magic volatile variable to SECOID_Init, the only
xxx_Init function in libnssutil3.so.
Attachment #426122 - Flags: review?(emaldona)
Assignee: christophe.ravel.bugs → wtc
Status: NEW → ASSIGNED
Target Milestone: --- → 3.12.6
Attachment #426122 - Flags: review?(emaldona) → review+
Comment on attachment 426127 [details] [diff] [review]
Add version string to libnssdbm3.so (for SOFTOKEN_3_13_BRANCH; checked in)

r+ for the 3.13 branch.
Attachment #426127 - Flags: review?(rrelyea) → review+
I look forward to the day when we can decouple database management from softoken.
Comment on attachment 426122 [details] [diff] [review]
Add version string to libnssutil3.so (checked in)

I checked in this patch on the NSS trunk (NSS 3.12.6).

Checking in secoid.c;
/cvsroot/mozilla/security/nss/lib/util/secoid.c,v  <--  secoid.c
new revision: 1.55; previous revision: 1.54
done
Attachment #426122 - Attachment description: Add version string to libnssutil3.so → Add version string to libnssutil3.so (checked in)
Comment on attachment 426127 [details] [diff] [review]
Add version string to libnssdbm3.so (for SOFTOKEN_3_13_BRANCH; checked in)

I checked in this patch on the SOFTOKEN_3_13_BRANCH (NSS 3.13).

Checking in lginit.c;
/cvsroot/mozilla/security/nss/lib/softoken/legacydb/lginit.c,v  <--  lginit.c
new revision: 1.14.8.2; previous revision: 1.14.8.1
done
Attachment #426127 - Attachment description: Add version string to libnssdbm3.so (for SOFTOKEN_3_13_BRANCH) → Add version string to libnssdbm3.so (for SOFTOKEN_3_13_BRANCH; checked in)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [libnssutil3.so fixed in 3.12.6]
Target Milestone: 3.12.6 → 3.13
Blocks: FIPS2010
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: