Commit Graph

3286 Commits

Author SHA1 Message Date
nelsonb%netscape.com
784913e894 Export CERT_SequenceOfCertExtensionTemplate on Windows.
Fix type of "attributes" member of struct CERTCertificateRequestStr.
Bug 284200.  r=nelson.williams & wtchang.


git-svn-id: svn://10.0.0.236/trunk@170202 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 08:03:04 +00:00
wtchang%redhat.com
11509a3176 Bugzilla Bug 221425: enable all.sh to run with Cygwin. Also fixed an
incorrect line continuation (of a tstclnt command line) in ssl.sh.
r=nelsonb,jpierre
Modified files: init.sh ssl.sh


git-svn-id: svn://10.0.0.236/trunk@170191 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-05 02:00:30 +00:00
wtchang%redhat.com
5bc721385e Added a blank line after the triple license header to match the output
of the new oidgen.perl.


git-svn-id: svn://10.0.0.236/trunk@170169 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 18:30:12 +00:00
julien.pierre.bugs%sun.com
c627933774 Fix for 283765. Fix for UMR in NSSUsage. r=julien
git-svn-id: svn://10.0.0.236/trunk@170156 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-04 04:32:04 +00:00
julien.pierre.bugs%sun.com
a906b21c0a Fix crash in CRL sorting callbacks from qsort.
git-svn-id: svn://10.0.0.236/trunk@170118 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-03 04:07:26 +00:00
neil.williams%sun.com
66557be85d Bug 263779 r=nelson@bolyard.com
This patch adds a new OID which is needed for the certutil patch which will follow.


git-svn-id: svn://10.0.0.236/trunk@170071 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 02:54:54 +00:00
christophe.ravel.bugs%sun.com
16fdbb5b3b 238319: Sun packages changes.
Add addbuiltin, pk11priv.h, pk11pub.h


git-svn-id: svn://10.0.0.236/trunk@169993 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-28 17:45:20 +00:00
nelsonb%netscape.com
d99a66fde3 Report invalid key when key import fails. Do not go on and use invalid
key handle.  Bug 283642.  r=relyea


git-svn-id: svn://10.0.0.236/trunk@169942 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-27 15:25:46 +00:00
julien.pierre.bugs%sun.com
38aec7b04b Fix for bug 283761 - use of memset in selfserv is inefficient. r=nelson
git-svn-id: svn://10.0.0.236/trunk@169886 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 04:57:32 +00:00
christophe.ravel.bugs%sun.com
3045691567 238319: Sun packages changes.
Add Mozilla license.


git-svn-id: svn://10.0.0.236/trunk@169882 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 02:20:42 +00:00
julien.pierre.bugs%sun.com
a731cd3460 Fix for bug 272327 . AMD64 assembly optimization for bignum multiply. r=nelson
git-svn-id: svn://10.0.0.236/trunk@169827 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 04:30:11 +00:00
julien.pierre.bugs%sun.com
dd31c2d763 Move static functions out of certi.h header file and into crl.c source file, to remove warnings with gcc
git-svn-id: svn://10.0.0.236/trunk@169803 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 00:54:29 +00:00
julien.pierre.bugs%sun.com
664926f078 Undo accidental deletion of PORT_ZFree
git-svn-id: svn://10.0.0.236/trunk@169754 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 06:02:16 +00:00
julien.pierre.bugs%sun.com
a3317bd902 Fix for bug 270742 - incorporate AMD64 implementation of arcfour . Code donated by Marc Bevand, and integrated by Nelson . r=wtchang
git-svn-id: svn://10.0.0.236/trunk@169709 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 02:09:41 +00:00
julien.pierre.bugs%sun.com
3ee7fc35b6 Fix for 269581 - cache the value of CKA_PRIVATE on private keys to avoid unnecessary C_GetAttributeValue . Also fix i
ncorrect logic in attribute tests. r=rrelyea,wtchang


git-svn-id: svn://10.0.0.236/trunk@169706 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:38:23 +00:00
julien.pierre.bugs%sun.com
b504257ebd Fix for 269581 - cache the value of CKA_PRIVATE on private keys to avoid unnecessary C_GetAttributeValue . Also fix incorrect logic in attribute tests. r=rrelyea,wtchang
git-svn-id: svn://10.0.0.236/trunk@169705 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:35:51 +00:00
julien.pierre.bugs%sun.com
0513932046 Fix compiler warnings under Linux
git-svn-id: svn://10.0.0.236/trunk@169703 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:22:59 +00:00
julien.pierre.bugs%sun.com
37edfe8363 Add comment for bug 243585
git-svn-id: svn://10.0.0.236/trunk@169702 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-24 00:22:23 +00:00
wtchang%redhat.com
1365bb6f66 Bugzilla Bug 282527: fixed a bug that prevented certutil from generating
a cert with multiple DNS names in the subjectAltName extension.  The patch
is contributed by Neil Williams of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@169700 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:44:09 +00:00
wtchang%redhat.com
45856c0285 Bugzilla Bug 282370: Added OID for PKIX_CA_ISSUERS. The patch is
contributed by Martin v. Löwis <martin@v.loewis.de>. r=nelson,wtc.
Modified Files: secoid.c secoidt.h


git-svn-id: svn://10.0.0.236/trunk@169662 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 19:43:02 +00:00
wtchang%redhat.com
a5e1388150 Bug 236613: fixed the fallout from the change to MPL/LGPL/GPL tri-license.
Our script for processing the *.def on the Mac cannot handle blank lines.
Modified Files: nssckbi.def nss.def smime.def softokn.def ssl.def


git-svn-id: svn://10.0.0.236/trunk@169661 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 19:25:39 +00:00
wtchang%redhat.com
6a1a2d20e9 Bugzilla Bug 282367: Export CERT_DestroyUserNotice from the nss shared
library.  Added a CERT_DestroyUserNotice call to cmd/lib/pppolicy.c to
fix a leak of CERTUserNotice. r=nelsonb.
Modified Files: lib/nss/nss.def cmd/lib/pppolicy.c


git-svn-id: svn://10.0.0.236/trunk@169609 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-22 20:02:22 +00:00
julien.pierre.bugs%sun.com
926b40d5fa Fix compilation on AIX
git-svn-id: svn://10.0.0.236/trunk@169209 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 19:26:28 +00:00
julien.pierre.bugs%sun.com
761d5cc7c7 Fix for 243585 - add the ability to use CRL objects from RAM . r=nelson, neil.williams
git-svn-id: svn://10.0.0.236/trunk@169200 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-15 06:26:43 +00:00
nelsonb%netscape.com
87491a09f7 Export HASH_Clone HASH_HashBuf HASH_ResultLenContext
Bug 273444, r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@169149 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-12 06:39:23 +00:00
julien.pierre.bugs%sun.com
40033aafb9 Fix for 281761 - VFY_CreateContext passes wrong key object; and other cleanup. r=nelson
git-svn-id: svn://10.0.0.236/trunk@169077 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-10 08:05:54 +00:00
neil.williams%sun.com
ecab35de6f Bug#:280602 Added list option to pk12uti, test for it.
r=nelson@bolyard.com


git-svn-id: svn://10.0.0.236/trunk@168955 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-08 01:04:50 +00:00
gerv%gerv.net
a2d903c9f2 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@168726 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 22:28:27 +00:00
wtchang%redhat.com
201a262c53 Wrap long lines.
git-svn-id: svn://10.0.0.236/trunk@168422 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 21:33:59 +00:00
wtchang%redhat.com
aa0e8b9f52 Bugzilla Bug 279621: removed relnotes.txt, which contains HCL 1.7.5 release
notes.


git-svn-id: svn://10.0.0.236/trunk@168397 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-27 19:06:07 +00:00
wtchang%redhat.com
68afcb2227 Bugzilla Bug 267158: removed the $Name$ RCS keyword from our source files.
This keyword adds noise to the output of "ident libnss3.so | grep NSS"
on our debug build, and appears to cause spurious CVS conflicts. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@168042 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-20 02:25:51 +00:00
wtchang%redhat.com
2109f28e78 Bugzilla Bug 278381: fixed double frees and mismatch of format specifers
and arguments. The patch is contributed by Tim Ruehsen
<tim.ruehsen@gmx.de>. r=wtc,relyea.


git-svn-id: svn://10.0.0.236/trunk@167740 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-14 18:59:20 +00:00
wtchang%redhat.com
8eb6a82ecb Bugzilla Bug 276180: defend against invalid arguments to PK11_HashBuf
and PK11_DigestOp. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@167267 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 22:00:01 +00:00
wtchang%redhat.com
dcf0434654 Bugzilla bug 273624: fixed the regression (from NSS 3.3.x) that
NSS_Initialize didn't report the SEC_ERROR_BAD_DATABASE error if
the NSS databases haven't been created.  r=nelsonb,relyea.
Modified Files: pk11wrap/pk11err.c pk11wrap/pk11load.c
                softoken/dbinit.c softoken/pkcs11n.h


git-svn-id: svn://10.0.0.236/trunk@167254 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-04 18:20:00 +00:00
nelsonb%netscape.com
862ad14e78 Initialize 4 variables. Plug UMR reports. Bug 263691. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@167012 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-24 07:13:35 +00:00
nelsonb%netscape.com
7a939cc73e Add end of list marker to SECErrorCodes enum in secerr.h.
Bug  273611, r=Saul.edwards


git-svn-id: svn://10.0.0.236/trunk@167005 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-23 23:42:25 +00:00
julien.pierre.bugs%sun.com
7098fa8db9 Fix for 273993 . SSL client cache grows with non-restartable sessions . r=saul,nelson
git-svn-id: svn://10.0.0.236/trunk@166798 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 02:01:35 +00:00
julien.pierre.bugs%sun.com
d5d4616504 Fix for 266206 - avoid calling getdtablesize twice
git-svn-id: svn://10.0.0.236/trunk@166455 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 23:00:19 +00:00
julien.pierre.bugs%sun.com
ef57d8f9dc Fix for bug 270689 - race condition in softoken list lock creation . r=nelson
git-svn-id: svn://10.0.0.236/trunk@166425 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 01:13:54 +00:00
julien.pierre.bugs%sun.com
4f45c707d5 Check for NULL PRFileDesc before closing them . r=saul,nelson
git-svn-id: svn://10.0.0.236/trunk@166378 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 06:25:34 +00:00
nelsonb%netscape.com
45ed99ddc6 Workaround the occasional SSL server cert that has the step-up OID but
not the SSL server OID.  Patch by Aaron Spangler <aaron@spangler.ods.org>
Bug 231775. r=nelson


git-svn-id: svn://10.0.0.236/trunk@166174 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 22:08:14 +00:00
nelsonb%netscape.com
69c8d2d723 When attempting to find an SMIME profile for a given email address,
firt ensure that the email address is not NULL and not empty.
Bugzilla bug 263596. r=wan-teh.
Modified Files: lib/certdb/stanpcertdb.c lib/pk11wrap/pk11nobj.c


git-svn-id: svn://10.0.0.236/trunk@166165 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 21:34:15 +00:00
nelsonb%netscape.com
9b1b8a2fdd Fixes bugs 258416, 261374, 261375, 261379, 271551 and 271585
Modified Files: certdata.c certdata.txt nssckbi.h
r=relyea.  Add root CA certs for
    QuoVadis Root CA                        C,C,C
    Security Communication Root CA          C,C,C
    Sonera Class 1 Root CA                  C,C,C
    Sonera Class 2 Root CA                  C,C,C
    Staat der Nederlanden Root CA           C,C,C
    TDC Internet Root CA                    C,C,C
    TDC OCES Root CA                        C,C,C
    UTN DATACorp SGC Root CA                C,p,p
    UTN USERFirst Email Root CA             p,C,p
    UTN USERFirst Hardware Root CA          C,p,p
    UTN USERFirst Object Root CA            p,p,C


git-svn-id: svn://10.0.0.236/trunk@166155 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 19:47:45 +00:00
christophe.ravel.bugs%sun.com
8441cca7ca 238319: Sun packaging changes.
Port from NSS_3_9_BRANCH.


git-svn-id: svn://10.0.0.236/trunk@165886 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-29 16:31:50 +00:00
nelsonb%netscape.com
7716a66257 Do case-insensitive comparisons of hostnames to wildcarded names.
Bug 266651.  Patch contributed by Ken Key <key+mozilla@ksquared.net>.


git-svn-id: svn://10.0.0.236/trunk@165533 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 23:54:10 +00:00
wchang0222%aol.com
2aa520d848 Bugzilla bug 268502: fixed some function declaration problems. r=jpierre,
relyea.


git-svn-id: svn://10.0.0.236/trunk@165489 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-18 23:51:37 +00:00
julien.pierre.bugs%sun.com
177e23c29b Fix bugzilla 268521 - C_CloseSession getting called after C_CloseAllSessions . r=relyea, nelsonb
git-svn-id: svn://10.0.0.236/trunk@165181 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 23:19:24 +00:00
wchang0222%aol.com
53fa50ce06 Bugzilla bug 248435: declare the exported functions CERT_DecodeGeneralName
and CERT_EncodeGeneralName in the public header cert.h.  r=jpierre.
Modified Files: cert.h genname.h xconst.c


git-svn-id: svn://10.0.0.236/trunk@165153 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-09 06:13:32 +00:00
wchang0222%aol.com
652861347d Removed a useless makefile rule.
git-svn-id: svn://10.0.0.236/trunk@164975 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 02:46:09 +00:00
wchang0222%aol.com
5aac66bfb6 Define the macro 'verbose' as -1 to turn all all zlib trace messages in
debug builds.  This is to be consistent with our modifications to the old
zlib (Bugzilla bug 131826).


git-svn-id: svn://10.0.0.236/trunk@164922 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-04 16:23:19 +00:00