julien.pierre.boogz%sun.com
bc77aebd64
Fix for bug 286642 . Don't export DER template from libnssutil3. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@238615 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 02:37:22 +00:00
julien.pierre.boogz%sun.com
a8626f2c53
Fix for bug 286642 . Move utility functions to new libnssutil shared library. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@237631 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-12 01:44:51 +00:00
nelson%bolyard.com
f6986f8850
Bug 398019 correct confusing and erroneous comments in DER_AsciiToTime
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@237300 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-05 08:33:16 +00:00
biswatosh.chakraborty%sun.com
4025c4a102
Commiting back derdec.c ver 1.5 with appropriate comments.
...
Bug Id: 352929. Reviewed by WTC and Nelson.
Issue: Removed DER_Decode and der_decode.
git-svn-id: svn://10.0.0.236/trunk@236997 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 16:35:44 +00:00
biswatosh.chakraborty%sun.com
e7698ab448
Backing out derdec.c ver 1.5 as it did not contain correct comments.
...
Will commit it back now with appropriate comments.
git-svn-id: svn://10.0.0.236/trunk@236996 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 16:31:57 +00:00
biswatosh.chakraborty%sun.com
9a4cf2650d
Committing in NSSBranch.
...
Modified Files: secder.h
For Bug Id: 352929
Reviewed by Wan-Teh Chang and Nelson
Removed DER_Decode declaration
git-svn-id: svn://10.0.0.236/trunk@236981 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 11:55:04 +00:00
biswatosh.chakraborty%sun.com
5e60b5e819
Committing in NSSBranch.
...
Modified Files: derdec.c
For Bug 352929
Reviewed by Wan-Teh Chang and Nelson
Removed DER_Decode and der_decode functions
git-svn-id: svn://10.0.0.236/trunk@236980 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-01 11:51:59 +00:00
neil.williams%sun.com
d23a220b27
Bug 324744, add gen of policy extns to certutil, second of 3 patches
...
r=julien
git-svn-id: svn://10.0.0.236/trunk@235372 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 18:45:53 +00:00
christophe.ravel.bugs%sun.com
01014185ad
Bug 389781 NSS should be built size-optimized on Linux, Windows, and Mac
...
r=julien.pierre.boogz
git-svn-id: svn://10.0.0.236/trunk@232117 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 15:30:08 +00:00
rrelyea%redhat.com
557cb6151c
Bug 391291 Implement Shared Database Integrity checks.
...
r=nelson (plus review from kengert)
git-svn-id: svn://10.0.0.236/trunk@231760 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:36:20 +00:00
biswatosh.chakraborty%sun.com
4774b56899
Committing in HEAD.
...
Modified Files:nssilock.c
For Bug 338688. Reviewed by Nelson Bolyard
Issue: Allocation functions dont always set SEC_ERROR_NO_MEMORY
git-svn-id: svn://10.0.0.236/trunk@230754 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 16:16:58 +00:00
nelson%bolyard.com
f24c956dd3
Bug 388120 build error due to SEC_BEGIN_PROTOS / SEC_END_PROTOS are undefined
...
Patch contributed by alexander surkov <surkov.alexander@gmail.com>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@229952 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-14 06:21:53 +00:00
julien.pierre.bugs%sun.com
2b9ad91e6c
Fix for bug 118830 . Make header file C++-safe. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@229769 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:38:03 +00:00
nelson%bolyard.com
594b649a02
Implement SEC_StringToOID(), which converts ASCII dotted decimal OID
...
strings to their DER encoded binary form. Bug 161326. r=Neil
git-svn-id: svn://10.0.0.236/trunk@229767 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:28:31 +00:00
julien.pierre.bugs%sun.com
17ea357834
Fix for bug 90426 . Stop using obsolete int32 and uint32 typedefs . r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@229406 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 03:16:56 +00:00
alexei.volkov.bugs%sun.com
110431be3e
Bug 358785: Merge NSS_LIBPKIX_BRANCH back to trunk. r=julien, r=alexei
...
git-svn-id: svn://10.0.0.236/trunk@226998 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 07:28:38 +00:00
nelson%bolyard.com
e44021a949
Bug 379753 S/MIME should support AES. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@226226 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 01:12:21 +00:00
nelson%bolyard.com
201dc777a8
Bug 371160 eliminate bogus PKCS12_KEY_USAGE in secoid table . r=rrelyea,alexei
...
git-svn-id: svn://10.0.0.236/trunk@225972 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 22:45:16 +00:00
nelson%bolyard.com
874bd204fc
Bug 371685 allow unsupported critical extensions in special builds.
...
r=rrelyea,wtc
git-svn-id: svn://10.0.0.236/trunk@225562 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 05:15:43 +00:00
julien.pierre.bugs%sun.com
93fb5ea7e9
Fix for bug 378815 - DER_TimeToGeneralizedTimeArena and DER_TimeToUTCTimeArena don't check for valid range and may leak. r=nelson, wtc
...
git-svn-id: svn://10.0.0.236/trunk@225557 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 00:22:46 +00:00
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