nelson%bolyard.com
7ea34e3614
Bug 461085 - RFE: export function CERT_CompareCerts, r=julien.pierre
...
git-svn-id: svn://10.0.0.236/trunk@255120 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 16:04:38 +00:00
rrelyea%redhat.com
450b11ce05
Bug 438870: Free Freebl hashing code of dependencies on NSPR and libUtil
...
make static functions load nssutil3.
git-svn-id: svn://10.0.0.236/trunk@255097 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-18 19:47:11 +00:00
wtc%google.com
a55555a0d0
Bug 455424: nssilckt.h should not define the enumeration constant 'Lock',
...
which conflicts with C++ code defining a 'Lock' class. r=alexei.volkov.
Modified Files:
cmd/tests/manifest.mn lib/util/nssilckt.h
Added Files:
cmd/tests/conflict.c
git-svn-id: svn://10.0.0.236/trunk@254646 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-18 03:20:29 +00:00
julien.pierre.boogz%sun.com
24d774762f
Fix for bug 455556 . Fixed size buffers used with PR_FormatTime can be too small . r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@254545 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-06 23:37:56 +00:00
nelson%bolyard.com
28636c33b5
Bug 450845: Stop exporting symbols that are not present in the .def files
...
Eliminate PR_EXTERN, PR_IMPLEMENT in nss/lib, r=wtc
git-svn-id: svn://10.0.0.236/trunk@254534 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-05 20:59:26 +00:00
wtc%google.com
bb3a4f7845
Bug 453364: Added three new error codes that are equivalent to the PKCS #11
...
error codes CKR_GENERAL_ERROR, CKR_FUNCTION_FAILED, and CKR_DEVICE_ERROR.
r=nelson.
Modified Files:
cmd/lib/SECerrs.h lib/util/secerr.h
git-svn-id: svn://10.0.0.236/trunk@254366 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-22 20:28:34 +00:00
wtc%google.com
f88c19a387
Bug 450536: removed obsolete XP_MAC code (for Mac OS Classic).
...
r=julien.pierre.
Modified Files:
lib/freebl/Makefile lib/freebl/sysrand.c lib/nss/nssinit.c
lib/pkcs12/p12d.c lib/util/secport.c lib/util/secport.h
Removed Files:
lib/freebl/mac_rand.c
git-svn-id: svn://10.0.0.236/trunk@253757 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-22 01:33:05 +00:00
wtc%google.com
7f5bb0870d
Bug 436430: changed "UNIX time" to "NSPR time" in the comments. r=nelson.
...
git-svn-id: svn://10.0.0.236/trunk@252421 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-18 01:04:23 +00:00
wtc%google.com
c141d5b222
Bug 436430: NSS public headers should not use NSPR 1.0 compatibility types
...
and macros. Replaced PRArenaPool by PLArenaPool and int64 by PRTime. The
patch is generated by Nelson Bolyard <nelson@bolyard.com>. r=wtc
Modified Files:
certdb/cert.h certdb/certdb.h certdb/certt.h certhigh/ocsp.h
cryptohi/cryptohi.h cryptohi/keyhi.h cryptohi/keythi.h
freebl/blapit.h pk11wrap/pk11priv.h pk11wrap/pk11pub.h
pk11wrap/secmodt.h pkcs12/p12.h pkcs12/p12t.h pkcs12/pkcs12t.h
pkcs7/pkcs7t.h pkcs7/secpkcs7.h smime/cms.h util/nssb64.h
util/secasn1.h util/secder.h util/secdig.h util/secitem.h
util/secoid.h
git-svn-id: svn://10.0.0.236/trunk@252350 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-14 14:20:38 +00:00
wtc%google.com
06883877fc
Bug 433177: fixed GCC compiler warnings. r=julien.pierre
...
Modified Files:
freebl/ec.c freebl/genload.c freebl/ldvector.c util/dertime.c
util/oidstring.c
git-svn-id: svn://10.0.0.236/trunk@251569 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-13 01:20:05 +00:00
julien.pierre.boogz%sun.com
9bcbd59700
Bug 430916 : add sustaining asserts. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@251074 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 01:27:11 +00:00
julien.pierre.boogz%sun.com
2b62961592
Fix for bug 303457 . Undo changes to the OID table that were made for libpkix, since it doesn't rely on the OID table to determine critical extensions. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@249082 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-04 00:01:43 +00:00
nelson%bolyard.com
19e5b361e5
Bug 405966: Unknown signature OID 1.3.14.3.2.29 causes sec_error_bad_signature
...
3.11 ignores it. r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@246703 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-28 04:27:36 +00:00
alexei.volkov.bugs%sun.com
4f7b6f1cf2
417024 - Convert libpkix error code into nss error code. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@246469 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-25 21:32:59 +00:00
julien.pierre.boogz%sun.com
5a999728f2
Fix for 403240 . threads hanging in nss_InitLock. More cleanup of secoid based on Wan-Teh's feedback.
...
git-svn-id: svn://10.0.0.236/trunk@246018 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 23:53:30 +00:00
julien.pierre.boogz%sun.com
29443dfc70
Fix for bug 403240 - threads hanging in nss_InitLock . r=wtc,nelson
...
git-svn-id: svn://10.0.0.236/trunk@245810 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 04:38:09 +00:00
wtc%google.com
0e7e83c06d
Bug 416508: Fix a _MSC_VER typo in sha512.c, and use SEC_BEGIN_PROTOS and
...
SEC_END_PROTOS in secport.h. r=nelson
git-svn-id: svn://10.0.0.236/trunk@245722 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 18:41:38 +00:00
nelson%bolyard.com
d1e56f471e
Bug 398693 - DER_AsciiToTime produces incorrect output for dates 1950-1970
...
r=wtc sr=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@243706 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-22 02:18:34 +00:00
wtc%google.com
29f2430119
Bug 362278: moved CERT_TimeChoiceTemplate to lib/certdb because it is
...
declared in certt.h. r=julien.pierre
Modified Files:
certdb/certdb.c nss/utilwrap.c util/nssutil.def
util/templates.c util/utilrename.h
git-svn-id: svn://10.0.0.236/trunk@239799 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 21:19:40 +00:00
wtc%google.com
9048886e47
Bug 402777: moved the contents of pqgutil.{h,c} to lib/freebl and
...
lib/pk11wrap. r=rrelyea.
Modified Files:
cmd/fipstest/fipstest.c lib/freebl/blapi.h
lib/freebl/ldvector.c lib/freebl/loader.c lib/freebl/loader.h
lib/freebl/pqg.c lib/pk11wrap/pk11pqg.c lib/softoken/pkcs11c.c
lib/util/manifest.mn lib/util/nssutil.def
pkg/solaris/SUNWtlsd/prototype
Removed Files:
lib/util/pqgutil.c lib/util/pqgutil.h
git-svn-id: svn://10.0.0.236/trunk@239082 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 18:49:35 +00:00
wtc%google.com
fa56338784
Bug 402777: Two changes to make lib/util more stand-alone. Moved
...
CKM_INVALID_MECHANISM from secmodt.h to pkcs11n.h. Moved the three
CERTValidity functions from lib/util/sectime.c to lib/certdb/certdb.c.
r=rrelyea.
Modified Files:
lib/certdb/certdb.c lib/nss/utilwrap.c lib/pk11wrap/secmodt.h
lib/softoken/pkcs11n.h lib/util/nssutil.def lib/util/secoid.c
lib/util/sectime.c lib/util/utilrename.h
git-svn-id: svn://10.0.0.236/trunk@238930 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-07 21:43:28 +00:00
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