wtc%netscape.com
0d23fb9c84
Bugzilla bug 122712: renamed cert_DecodeGeneralName to
...
CERT_DecodeGeneralName because we export this function from nss.def.
(The cert_ prefix suggests an internal function.)
Modified Files:
lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
lib/nss/nss.def
git-svn-id: svn://10.0.0.236/trunk@114471 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:53:20 +00:00
wtc%netscape.com
0ecadf23c7
Bugzilla bug 123938: renamed cert_EncodeGeneralName to
...
CERT_EncodeGeneralName. Export CERT_EncodeGeneralName and
CERT_FindKeyUsageExtension from nss.def. Have cmmfrec.c include
nssrenam.h to get __CERT_NewTempCertificate.
Modified Files:
lib/certdb/genname.c lib/certdb/genname.h lib/certdb/xconst.c
lib/crmf/cmmfchal.c lib/crmf/cmmfrec.c lib/nss/nss.def
git-svn-id: svn://10.0.0.236/trunk@114469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 02:25:21 +00:00
relyea%netscape.com
a81513d4cf
Fix UMR in the session info structure.
...
git-svn-id: svn://10.0.0.236/trunk@114461 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 01:12:51 +00:00
jpierre%netscape.com
de4794f2ad
Fix for 125373 - crash in crlutil
...
git-svn-id: svn://10.0.0.236/trunk@114446 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 00:06:52 +00:00
ian.mcgreer%sun.com
025e636383
bug 125165, don't crash when the softoken fails to return attributes for a cert object
...
git-svn-id: svn://10.0.0.236/trunk@114429 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 21:09:15 +00:00
ian.mcgreer%sun.com
6074d9f973
bug 125263, the subject lists in the temp store are actual hash entries, thus any attempt to extract certs from them must be done within the store's lock.
...
git-svn-id: svn://10.0.0.236/trunk@114401 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 16:58:05 +00:00
relyea%netscape.com
ce50f8dca2
Bug 120651: Memory leaks in PK11_GetCertList.
...
1) Fix leaks in error paths (bfind.c -- found by inspection).
2) Don't allocate hash table data out of the arena. PL_Hash grows and shrinks
the hash buckets as necessary. In arenas they will just grow.
3) Don't allocate temparary locks out of the global instance arena pool.
git-svn-id: svn://10.0.0.236/trunk@114367 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:26:47 +00:00
jpierre%netscape.com
26c1e6d023
Fix for 125143 - allow modutil to report PKCS#11 library load failure errors
...
git-svn-id: svn://10.0.0.236/trunk@114359 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 01:43:10 +00:00
kaie%netscape.com
9e38649c04
b=124241 Remove all fixed size attributes from XUL
...
r=rangansen sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114328 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 23:16:07 +00:00
wtc%netscape.com
e173fb6511
Bugzilla bug 125102: six files in mozilla/security/nss/lib/ckfw/builtins
...
got renamed.
git-svn-id: svn://10.0.0.236/trunk@114323 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:51:09 +00:00
sonja.mirtitsch%sun.com
7ebaecf2e1
fixed returncode after modification in error.h
...
git-svn-id: svn://10.0.0.236/trunk@114289 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 18:34:35 +00:00
wtc%netscape.com
45d429508d
Bugzilla bug 112198: on Mac OS X (Darwin), we need to run 'ranlib' on a
...
static library after renaming it. This is not necessary but harmless on
other platforms. The patch is contributed by Javier Pedemonte
<pedemonte@alimni.utexas.net>. r=wtc,cls.
git-svn-id: svn://10.0.0.236/trunk@114283 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:21:26 +00:00
jpierre%netscape.com
9d6c410b11
Reset NSPR error text before adding the module to make sure we aren't getting some previous error
...
git-svn-id: svn://10.0.0.236/trunk@114248 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:25:15 +00:00
jpierre%netscape.com
8b6f524f9d
Make modutil display a more detailed error when a PKCS#11 module fails to load. This is done by checking the NSPR error text that is set by PR_LoadLibrary failures deep in SECMOD_AddNewModule
...
git-svn-id: svn://10.0.0.236/trunk@114245 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 04:09:21 +00:00
wtc%netscape.com
f4a5b96f33
Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
...
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.
git-svn-id: svn://10.0.0.236/trunk@114231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:01:03 +00:00
relyea%netscape.com
db650156c5
Load all slots into the trust domain, even if the tokens are empty.
...
Fix problems with the token caching code when tokens are removed.
git-svn-id: svn://10.0.0.236/trunk@114228 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 01:33:41 +00:00
ian.mcgreer%sun.com
0c3606cd66
bug 124082, don't change trust of existing CA certs during PKCS#12 import
...
git-svn-id: svn://10.0.0.236/trunk@114215 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 00:38:16 +00:00
ian.mcgreer%sun.com
db557442e8
bug 124446, thread safety issues with static oid hashtable.
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@114206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:12:00 +00:00
ian.mcgreer%sun.com
0fd707f56a
NSSCryptoContext_ImportCertificate cannot inform the caller that the cert already exists as a temp cert, is is necessary to work around this in CERT_NewTempCertificate by doing a lookup on the cert after it was imported.
...
r=relyea
git-svn-id: svn://10.0.0.236/trunk@114198 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 22:12:01 +00:00
kirk.erickson%sun.com
513f733351
Commented SlotStr with information what what locks protect what.
...
git-svn-id: svn://10.0.0.236/trunk@114193 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 20:14:05 +00:00
nelsonb%netscape.com
d2efb641d7
Make NSS 3.4 build as part of mozilla on OS/2. Bug 114748.
...
Patch supplied by Javier Pedemonte.
git-svn-id: svn://10.0.0.236/trunk@114184 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 05:48:37 +00:00
wtc%netscape.com
f0eee2f5b8
Bugzilla bug 112198: On Darwin we must link libnssckbi.dylib with -bundle
...
so that we can load it correctly. Thanks to Brian Ryner for the patch.
git-svn-id: svn://10.0.0.236/trunk@114159 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 06:18:17 +00:00
wtc%netscape.com
52d63759fb
Bugzilla bug 112198: Port NSS to Mac OS X (Darwin). The patch is
...
contributed by Javier Pedemonte <pedemonte@alumni.utexas.net>.
Modified Files:
coreconf/config.mk coreconf/nsinstall/nsinstall.c
coreconf/nsinstall/pathsub.c nss/lib/freebl/unix_rand.c
nss/lib/ssl/unix_err.c
git-svn-id: svn://10.0.0.236/trunk@114158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 05:24:49 +00:00
wtc%netscape.com
6894dfce28
Define DARWIN instead of XP_MACOSX.
...
git-svn-id: svn://10.0.0.236/trunk@114128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 03:26:51 +00:00
wtc%netscape.com
148b4dad29
Bugzilla bug 112198: added Darwin.mk. This file is contributed by
...
Javier Pedemonte <pedemonte@alumni.utexas.net>, based on the NSPR file.
git-svn-id: svn://10.0.0.236/trunk@114120 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 02:21:27 +00:00
javi%netscape.com
93c2902cb0
Give fragment names to the 2 targets. Will help with Talkback.
...
git-svn-id: svn://10.0.0.236/trunk@114100 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 00:15:57 +00:00
ian.mcgreer%sun.com
efbebe51d0
localize the adding of cert references to one function to save an iteration, add two NULL pointer checks
...
git-svn-id: svn://10.0.0.236/trunk@114049 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 21:47:05 +00:00
wtc%netscape.com
675ad3d2ce
Accidentally deleted PK11_GetSymKeyNickname in my previous checkin.
...
git-svn-id: svn://10.0.0.236/trunk@114046 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:50:07 +00:00
wtc%netscape.com
1b612ca6aa
Checked in Jamie's patches for
...
bug 124232: export SECKEY_DestroyPublicKeyLis; and
bug 124233: add new function PK11_GetNextSymKey.
Also fixed two problems in nss.def.
Modified files: nss/nss.def pk11wrap/pk11func.h pk11wrap/pk11skey.c
git-svn-id: svn://10.0.0.236/trunk@114045 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:42:40 +00:00
seawood%netscape.com
133ae214a8
Backing out fix for win32 gmake static bustage until we figure out how to resolve bug 114748 for OS/2. Should fix current OS/2 bustage.
...
git-svn-id: svn://10.0.0.236/trunk@114044 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 19:17:37 +00:00
ian.mcgreer%sun.com
50781d61b7
as with the cache, a search by cert DER should crack the DER into issuer and serial, then index the hash directly, as opposed to iteration
...
git-svn-id: svn://10.0.0.236/trunk@114040 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 16:26:07 +00:00
ian.mcgreer%sun.com
554c4ef86a
bug 124268, usage statement for dump chain option
...
git-svn-id: svn://10.0.0.236/trunk@114031 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:22:54 +00:00
ian.mcgreer%sun.com
2eec8de598
bug 124189, signtool hangs
...
git-svn-id: svn://10.0.0.236/trunk@114028 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:13:13 +00:00
seawood%netscape.com
3df2ef69fd
Use @ so that regchrome commands aren't echoed.
...
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #124328 r=cls
git-svn-id: svn://10.0.0.236/trunk@114012 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 08:30:30 +00:00
wtc%netscape.com
55b619707d
Added SunOS5.10.mk for Solaris 10.
...
git-svn-id: svn://10.0.0.236/trunk@114004 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:15:24 +00:00
seawood%netscape.com
3985e6a1d7
OS/2 & Win32 non-gcc builds require that you link against their import library instead of directly against a shared library. Fixing static build bustage.
...
Use the centralized NSS_LIBS rather than explicitly writing out each NSS lib when linking.
git-svn-id: svn://10.0.0.236/trunk@114003 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 06:04:05 +00:00
wtc%netscape.com
6a055b3707
Bugzilla bug 124318: do not link with -lsoftokn3 explicitly. Use the
...
-rpath-link linker option on Linux to find libsoftokn3.so.
git-svn-id: svn://10.0.0.236/trunk@113989 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 03:15:40 +00:00
ian.mcgreer%sun.com
a79c662939
bug 124309, fix various issues with the cache/temp store and thread safety. Is one line different than the patch on the bug, the one line seemed to fix the reported crash.
...
git-svn-id: svn://10.0.0.236/trunk@113985 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:51:41 +00:00
sonja.mirtitsch%sun.com
95fbad9556
script to clean up old tinderbox QA
...
git-svn-id: svn://10.0.0.236/trunk@113978 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 02:12:21 +00:00
sonja.mirtitsch%sun.com
4153a38edf
QAstatus file now made at the right place (global Exit()) and putting
...
killed info in as well
partial fix for 122632 r=wtc
git-svn-id: svn://10.0.0.236/trunk@113974 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:50:26 +00:00
bishakhabanerjee%netscape.com
897849a2c9
Patch for bug 119368: SECU_PrintError prints decimal error code now if
...
unknown error
git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
sonja.mirtitsch%sun.com
7b61b41c04
removed compiler workshop 5 marker bug# 124256 r=nelsonb
...
git-svn-id: svn://10.0.0.236/trunk@113953 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:43:18 +00:00
relyea%netscape.com
303be3228e
Bug 120651: Stop up memory leaks in the built-in token. We are slowly leaking
...
memory in arenas by allocating temporary objects out of permanment arenas.
Also rename file sin the builtins directory that conflict with it's parent.
xxxxx.c -> bxxxx.c except instance.c becomes binst.c
git-svn-id: svn://10.0.0.236/trunk@113944 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:10:07 +00:00
ian.mcgreer%sun.com
73e7836ead
bug 124268, -P is used twice
...
git-svn-id: svn://10.0.0.236/trunk@113910 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:28:04 +00:00
ian.mcgreer%sun.com
0c1df9e9f5
This is a revision of the patch shown in bug 122907. It should fix the leakage seen with client auth. It is needed either way, as NSS 3.3 always checked for pre-existing temp certs before creating a new one.
...
git-svn-id: svn://10.0.0.236/trunk@113901 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 14:58:05 +00:00
wtc%netscape.com
920a4207ed
Bugzilla bug 119376: initialize a local variable to eliminate a compiler
...
warning.
git-svn-id: svn://10.0.0.236/trunk@113860 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:57:48 +00:00
wtc%netscape.com
c2cd29e367
Bugzilla bug 119376: fixed the uninitialized variable 'rv' in
...
rsa_PrivateKeyOp.
git-svn-id: svn://10.0.0.236/trunk@113855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 01:00:31 +00:00
relyea%netscape.com
04a97fd3e2
Identify certs that have no trust as CA's if they have the right settings
...
git-svn-id: svn://10.0.0.236/trunk@113853 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:50:47 +00:00
ian.mcgreer%sun.com
5f330b97de
another misused arena
...
git-svn-id: svn://10.0.0.236/trunk@113840 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 23:11:08 +00:00
kaie%netscape.com
ab58030ec3
b=122961 Fix sending encrypted mail
...
r=relyea sr=alecf
git-svn-id: svn://10.0.0.236/trunk@113815 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 20:38:58 +00:00