julien.pierre.bugs%sun.com
a368a1c6f7
Fix for bug 378104 - certutil crashes creating certs with very long validity. r=alexei.volkov
...
git-svn-id: svn://10.0.0.236/trunk@224963 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 21:01:35 +00:00
alexei.volkov.bugs%sun.com
3362ecc93f
338986 - Unauthorized OCSP response error from user's default OCSP responder. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@221121 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 00:30:19 +00:00
rrelyea%redhat.com
5e97cf8097
Add Camilla cipher suites TLS RFC4132 bug 361025
...
code supplied by okazaki@kick.gr.jp
git-svn-id: svn://10.0.0.236/trunk@221086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 19:47:40 +00:00
nelson%bolyard.com
c4995ca9fc
Bug 353904. Fix potential NULL ptr deref. Klocwork. r=alexei.volkov
...
git-svn-id: svn://10.0.0.236/trunk@217683 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-03 12:57:41 +00:00
wtchang%redhat.com
a5700b389e
Bugzilla Bug 358785: fixed incorrect x509PolicyConstraints OID and typos in
...
a comment. r=relyea
git-svn-id: svn://10.0.0.236/trunk@216127 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-30 00:27:28 +00:00
nelson%bolyard.com
eb20cf28ec
When verifying a signed digest, ensure that the digest is DER encoded and
...
that there is no extra stuff after the DER encoded digest. Bug 350640.
r=julien.pierre,rrelyea
git-svn-id: svn://10.0.0.236/trunk@208876 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 03:57:56 +00:00
wtchang%redhat.com
58f5aca997
Bugzilla Bug 53427: Added PORT_ArenaZRelease and change secasn1d.c to zero
...
our_pool before releasing or freeing it. r=nelsonb,jpierre.
Modified files: secasn1d.c secport.c secport.h
git-svn-id: svn://10.0.0.236/trunk@207510 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 23:56:01 +00:00
wtchang%redhat.com
a0998099c1
Bugzilla Bug 53427: passed the correct 'zero' argument to PORT_FreeArena.
...
Removed dead code. r=nelsonb,relyea.
Modified Files:
softoken/keydb.c softoken/lowpbe.c softoken/pkcs11c.c
util/secdig.c
git-svn-id: svn://10.0.0.236/trunk@207406 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 01:34:38 +00:00
wtchang%redhat.com
2a4003f6cc
Bugzilla Bug 53427: PORT_FreeArena should zero memory before freeing it if
...
the 'zero' argument is true. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@207318 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 16:56:39 +00:00
nelson%bolyard.com
4906fdd7d8
Fix leak in sec_asn1d_add_to_subitems. Bug 339913. r=alexei.volkov
...
git-svn-id: svn://10.0.0.236/trunk@199541 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 21:40:30 +00:00
wtchang%redhat.com
22a3ee42b4
Bugzilla Bug 320336: improved the comments for SECITEM_AllocItem in
...
secitem.h. Made SECITEM_AllocItem fail (return NULL) if the allocation of
the buffer fails, as documented. r=nelsonb.
Modified files: secitem.c secitem.h
git-svn-id: svn://10.0.0.236/trunk@198213 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-22 22:24:34 +00:00
nelson%bolyard.com
c638057736
Avoid crash if "item" pointer is NULL. Coverity bug 333555.
...
r=wtchang,alexei.volkov
git-svn-id: svn://10.0.0.236/trunk@197959 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-18 21:20:04 +00:00
nelson%bolyard.com
cd18f85fef
Add 3 assertions to satisfy coverity that tmpt is never NULL in these
...
places. Bug 336995. r=akexei.volkov,wtchang
git-svn-id: svn://10.0.0.236/trunk@197941 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-18 19:32:44 +00:00
julien.pierre.bugs%sun.com
56763cafe5
Fix for bug 337789 . PK11_FindKeyByAnyCert doe snot work if softoken is in FIPS140-2 mode. r=wtchang, rrelyea, nelson
...
git-svn-id: svn://10.0.0.236/trunk@196609 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 23:51:01 +00:00
nelson%bolyard.com
276d240e0c
Backout the last change, undoing the fix for bug 320336 and bug 333405.
...
git-svn-id: svn://10.0.0.236/trunk@195336 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:39:24 +00:00
wtchang%redhat.com
61120f7730
Bugzilla Bug 320336: SECITEM_AllocItem should return a NULL pointer if the
...
allocation of its 'data' buffer fails. r=nelson. This checkin fixed bug
333405 as a byproduct.
Modified files: secitem.c secitem.h
git-svn-id: svn://10.0.0.236/trunk@195304 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 22:50:13 +00:00
kaie%kuix.de
f04215cac3
bug 331648, signed/unsigned bug submitting CRMF cert requests
...
r=rrelyea, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@193808 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-07 11:41:18 +00:00
rrelyea%redhat.com
0a3bb0e619
Bug 320583 Support for SHA256/384/512 with ECC signing
...
git-svn-id: svn://10.0.0.236/trunk@189396 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 06:14:31 +00:00
julien.pierre.bugs%sun.com
b28f0e8848
Move ret_cr16.s from util to freebl. r=nelsonb
...
git-svn-id: svn://10.0.0.236/trunk@184130 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 04:11:04 +00:00
julien.pierre.bugs%sun.com
e5f893cd78
Fix for 314115 . Comments about QuickDER and classic ASN.1 decoders relating to SECItem.type field
...
git-svn-id: svn://10.0.0.236/trunk@183278 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:52:20 +00:00
julien.pierre.bugs%sun.com
112e0e00dd
Fix for 314115 - QuickDER modifies SECItem.type while decoding. r=wtchang
...
git-svn-id: svn://10.0.0.236/trunk@183274 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-31 18:34:42 +00:00
relyea%netscape.com
cd837cf621
Bugzilla Bug 244922 ASN.1 encoder outputs trash for optional may-stream subtemplate
...
r=nelson (original patch by nelson, modifications by me).
git-svn-id: svn://10.0.0.236/trunk@181305 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-30 19:22:48 +00:00
wtchang%redhat.com
f7f11ce486
Bugzilla Bug 294071: removed out-of-date comments and dead code. r=nelsonb.
...
git-svn-id: svn://10.0.0.236/trunk@173532 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-18 00:03:11 +00:00
julien.pierre.bugs%sun.com
ee8e4eb165
Fix for 280121 - allow encoding simple templates with SEC_ASN1_INLINE and SEC_ASN1_OPTIONAL . r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@171906 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-09 05:06:34 +00:00
julien.pierre.bugs%sun.com
b896d0b0bc
Silence compiler warnings
...
git-svn-id: svn://10.0.0.236/trunk@171497 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 05:33:41 +00:00
wtchang%redhat.com
b1be2b7064
Bugzilla Bug 263779: update the comment to reflect the new code.
...
Modified Files: secoid.c secoidt.h
git-svn-id: svn://10.0.0.236/trunk@170303 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-07 18:34:48 +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
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
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
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
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
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
nelsonb%netscape.com
0ce29ee8bb
Fix bugzilla bug 261496. Absent OPTIONAL CHOICEs should not cause fatal
...
errors. Fix printing code to not crash on missing optional nextUpdate.
r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@162858 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-27 22:41:41 +00:00
relyea%netscape.com
778eec1a21
Bugzilla Bug 252702
...
NSS needs to handle better token insertion and removal.
Applied from patch to NSS 3.9
git-svn-id: svn://10.0.0.236/trunk@160095 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 23:38:14 +00:00
nelsonb%netscape.com
350330e15f
Allow subtemplates to have the SEC_ASN1_DYNAMIC flag without asserting.
...
Bug 245429. Patch 4 of 5. r=relyea.
git-svn-id: svn://10.0.0.236/trunk@159128 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 06:02:54 +00:00
nelsonb%netscape.com
84eaf700cd
Fix some casts. Wrap some long lines. Remove a bogus assert.
...
Factor a function call out of the arguments of another function call,
which is mostly to make that code more easily debugged.
This is patch 3 of 5 for bug 245429. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@159127 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 05:52:24 +00:00
nelsonb%netscape.com
6342fd9761
Function sec_asn1e_write_contents was two functions combined into one,
...
separated by one huge if-then-else. They do different things and take
different arguments. So, I split them into two separate functions:
sec_asn1e_write_contents and sec_asn1e_write_contents_from_buf
the latter of which takes a buf pointer and length argument.
The if statement that chooses between the two is now in the caller.
This is patch 2 of 5 for bug 245429. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@159126 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 05:49:48 +00:00
nelsonb%netscape.com
5586ad953a
rename "explicit" to "isExplicit" because MSVC6 thinks explicit is a c
...
keyword. rename "ignore_stream" to "disallowStreaming" because it
doesn't merely ignore. rename "ignoresubstream" to "disallowStreaming"
for the same reason. Patch 1 of 5 for bug 245429. sr=wtc.
git-svn-id: svn://10.0.0.236/trunk@159125 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-13 05:44:47 +00:00
relyea%netscape.com
01510c097f
Bug 244914, 244907 r=nelsonb
...
Add support for unprotected private keys without requiring authentication.
Add support to access application specific PKCS #11 objects through NSS.
git-svn-id: svn://10.0.0.236/trunk@158274 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-21 23:01:53 +00:00
jpierre%netscape.com
3090294504
Restore comment that got removed accidentally. And fix typo in it.
...
git-svn-id: svn://10.0.0.236/trunk@158078 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 01:34:11 +00:00
jpierre%netscape.com
0f8afbdfc0
Fix for 247406 . r=wchang0222,glen.beasley
...
git-svn-id: svn://10.0.0.236/trunk@158077 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-18 01:32:31 +00:00
gerv%gerv.net
62b0f34e77
Bug 236613: change to MPL/LGPL/GPL tri-license. Restore Id: lines.
...
git-svn-id: svn://10.0.0.236/trunk@155606 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-27 23:04:40 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wchang0222%aol.com
2bbf8d6a5b
Bugzilla bug 237934: in nss_InitLock, nss_InitMonitor, and
...
NSSRWLock_AtomicCreate, we need to doublecheck the lock/monitor's pointer
after we acquired the spin lock. r=nelsonb,jpierre.
Modified Files: nsslocks.c nssrwlk.c
git-svn-id: svn://10.0.0.236/trunk@154323 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-27 01:08:15 +00:00
jpierre%netscape.com
908536cb6c
Fix for bug 233605 . Check CRL entry extensions after partial decoding. Also add some new CRL decoding errors. r=nelsonb
...
git-svn-id: svn://10.0.0.236/trunk@152653 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:05:18 +00:00
wchang0222%aol.com
6986f24e74
Bugzilla bug 233321: fixed the problem with building utf8.c as a standalone
...
test program. Fixed byte-order issue on little-endian architecture.
r=nelsonb.
Modified Files: Makefile utf8.c
git-svn-id: svn://10.0.0.236/trunk@152633 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:17:24 +00:00
nelsonb%netscape.com
a27747ac5b
Change some comments and one variable as suggested in review comments.
...
r=relyea,wtc. Bug 124923.
git-svn-id: svn://10.0.0.236/trunk@152043 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:57:41 +00:00
nelsonb%netscape.com
e67ef64ae6
Make SECOID_AddEntry be thread safe. Export it. Bug 124923. r=relyea.
...
git-svn-id: svn://10.0.0.236/trunk@152036 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 21:23:36 +00:00
jgmyers%speakeasy.net
411a605312
address review comments: bug 231659
...
git-svn-id: svn://10.0.0.236/trunk@151940 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 04:29:14 +00:00
jgmyers%speakeasy.net
94a241181e
rewrite utf8 parser for strictness: bug 231659 r=MisterSSL
...
git-svn-id: svn://10.0.0.236/trunk@151937 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 03:48:43 +00:00