wtc%google.com
64c1a4761c
Bug 820651: Remove commas after the SEC_ASN1_ template macros. Set the
...
error code before returning SECFailure. r=kaie.
Modified Files:
cmd/lib/secutil.c lib/smime/cmsasn1.c
git-svn-id: svn://10.0.0.236/trunk@264562 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-13 22:46:04 +00:00
wtc%google.com
7efcfbe561
Bug 542741: Change NSS_VersionCheck to not call PR_VersionCheck because
...
system NSS packages are sometimes incorrectly built against an NSPR version
newer than the required NSPR version specified in the NSS package metainfo.
Modified Files:
lib/ssl/ssl.h lib/nss/nss.h lib/nss/nssinit.c
lib/smime/smime.h
git-svn-id: svn://10.0.0.236/trunk@264234 18797224-902f-48f8-a5cc-f745e15eee43
2012-09-21 21:58:44 +00:00
kaie%kuix.de
dc1a6712ea
Bug 676108 - smime_choose_cipher selects wrong bulk encryption algorithm, patch contributed by David Cooper, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@263832 18797224-902f-48f8-a5cc-f745e15eee43
2012-05-17 17:55:52 +00:00
gerv%gerv.net
f465fa7d7e
Bug 716563 - update license to MPL 2. r=rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@263750 18797224-902f-48f8-a5cc-f745e15eee43
2012-04-25 14:50:19 +00:00
kaie%kuix.de
8d3c74e37e
Bug 644764, AES256 not recorded in SMIME capabilities, Patch contributed by Momcilo Majic, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@263507 18797224-902f-48f8-a5cc-f745e15eee43
2012-03-01 18:33:11 +00:00
rrelyea%redhat.com
ed5feb52d0
Bug 679380 - Errors parsing nested CMS messages make the encapsulated content irretrievable
...
Microsoft WS2008 drops the wrap when encoding certain kerborse cms structures.
If we detect that the sequence wrapper is missing, add it back.
r= emaldona
git-svn-id: svn://10.0.0.236/trunk@262941 18797224-902f-48f8-a5cc-f745e15eee43
2011-09-30 22:10:13 +00:00
rrelyea%redhat.com
77c175d416
Bug 679377 - RFE: be more forgiving of malformed(?) kerberos CMS SignedData messages
...
r=emaldona
git-svn-id: svn://10.0.0.236/trunk@262935 18797224-902f-48f8-a5cc-f745e15eee43
2011-09-30 19:42:09 +00:00
wtc%google.com
613a840d29
Bug 668397: Remove all Fortezza support from lib/pkcs7, lib/smime, and
...
tests/ssl. The patch is written by Brian Smith <bsmith@mozilla.com>. r=wtc.
Modified Files:
lib/pkcs7/p7decode.c lib/pkcs7/p7encode.c lib/pkcs7/p7local.c
lib/pkcs7/p7local.h lib/pkcs7/pkcs7t.h lib/pkcs7/secmime.c
lib/smime/cmsasn1.c lib/smime/cmsencode.c lib/smime/cmslocal.h
lib/smime/cmspubkey.c lib/smime/cmsrecinfo.c
lib/smime/cmssiginfo.c lib/smime/cmst.h lib/smime/smime.h
lib/smime/smimeutil.c tests/ssl/sslcov.txt
git-svn-id: svn://10.0.0.236/trunk@262723 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-21 01:14:19 +00:00
kaie%kuix.de
2d50bc73fe
Bug 673115 - Add function to obtain version of NSS at runtime, r=wtc, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@262560 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-01 07:08:10 +00:00
emaldona%redhat.com
331db14476
Bug 640992 - nss_cms_before_data loses the child's content pointer on recursive decoding, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@262047 18797224-902f-48f8-a5cc-f745e15eee43
2011-03-15 17:45:21 +00:00
emaldona%redhat.com
6d247e8ddb
Bug 632439 - cms headers cmst.h and cms.h use C++ reserved identifiers 'private' and 'template, r=caillon
...
git-svn-id: svn://10.0.0.236/trunk@261970 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-24 22:06:14 +00:00
emaldona%redhat.com
6fe5a1f622
Bug 676036 - NSS CMS headers use C++ reserved identifiers 'private' and 'template', r=caillon
...
git-svn-id: svn://10.0.0.236/trunk@261916 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-11 01:53:17 +00:00
nelson%bolyard.com
d6ba077fbc
Bug 621664: double free in NSS_CMSSignerInfo_Sign
...
Patch contributed by David Cooper <dcooper16@gmail.com>
git-svn-id: svn://10.0.0.236/trunk@261902 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-07 18:32:19 +00:00
rrelyea%redhat.com
f6a7d80b59
Bug 491918 - Infinite recursion when encoding a NSS enveloped/digested data
...
Patch by nalin
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@261885 18797224-902f-48f8-a5cc-f745e15eee43
2011-02-01 23:24:56 +00:00
rrelyea%redhat.com
c70c18fc8d
Bug 584224 - CMS does not allow content types other than S/MIME
...
patch by nalin
r=rrelyea
* expose an NSSCMSGenericWrapperDataTemplate that includes the ContentInfo
* properly return plain data from NSS_CMSContentInfo_GetContent
* fix what appear to be some copy/paste errors
* get pointers to pointers to functions out of the interface, to match the rest
of the CMS API
* correctly add new types to the type hash
* don't return CMS contents from NULL CMS messages
git-svn-id: svn://10.0.0.236/trunk@261881 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-31 23:56:30 +00:00
rrelyea%redhat.com
ca400c9e6d
Bug 584224 - CMS does not allow content types other than S/MIME
...
Part 1
Patch: rrelyea
r emaldona
git-svn-id: svn://10.0.0.236/trunk@261862 18797224-902f-48f8-a5cc-f745e15eee43
2011-01-28 23:03:59 +00:00
kaie%kuix.de
48fe9178b4
Bug 607058, crash [@ nss_cms_decoder_work_data], Patch contributed by timeless, r=kaie, r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@261682 18797224-902f-48f8-a5cc-f745e15eee43
2010-12-21 21:58:56 +00:00
wtc%google.com
b8e2518399
Bug 602754: Fix "a the" in comments. The patch is contributed by
...
Edmund Wong <ewong@pw-wspx.org>. r=wtc.
Modified Files:
cmd/symkeyutil/symkey.man lib/jar/jarver.c
lib/pk11wrap/pk11akey.c lib/pk11wrap/pk11pbe.c
lib/smime/smime.h lib/softoken/legacydb/lowkeyi.h
git-svn-id: svn://10.0.0.236/trunk@261374 18797224-902f-48f8-a5cc-f745e15eee43
2010-10-11 19:30:10 +00:00
nelson%bolyard.com
4aab335a44
Bug 587432 NSS_CMSSignerInfo_Sign leaks tmppoolp when things fail
...
Patch contributed by Timeless <timeless@mozdev.org>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@261121 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-28 18:09:09 +00:00
wtc%google.com
cf35dccbce
Bug 583966: Remove unnecessary "REQUIRES = dbm" from manifest.mn. Remove
...
an unnecessary LIBSRCS variable in lib/cryptohi/manifest.mn. r=Christophe.
Modified Files:
cmd/lib/manifest.mn cmd/shlibsign/manifest.mn
lib/certdb/manifest.mn lib/certhigh/manifest.mn
lib/cryptohi/manifest.mn lib/jar/manifest.mn
lib/libpkix/pkix/certsel/manifest.mn
lib/libpkix/pkix/checker/manifest.mn
lib/libpkix/pkix/crlsel/manifest.mn
lib/libpkix/pkix/params/manifest.mn
lib/libpkix/pkix/results/manifest.mn
lib/libpkix/pkix/store/manifest.mn
lib/libpkix/pkix/top/manifest.mn
lib/libpkix/pkix/util/manifest.mn
lib/libpkix/pkix_pl_nss/module/manifest.mn
lib/libpkix/pkix_pl_nss/pki/manifest.mn
lib/libpkix/pkix_pl_nss/system/manifest.mn lib/nss/manifest.mn
lib/pk11wrap/manifest.mn lib/pkcs12/manifest.mn
lib/pkcs7/manifest.mn lib/smime/manifest.mn
lib/softoken/manifest.mn
git-svn-id: svn://10.0.0.236/trunk@260952 18797224-902f-48f8-a5cc-f745e15eee43
2010-08-03 18:56:48 +00:00
nelson%bolyard.com
1966969c73
Bug 559243: Can't decrypt a mail which is sent by Outlook 2010
...
Patch contributed by Kaspar Brand <mozbugzilla@velox.ch>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@260433 18797224-902f-48f8-a5cc-f745e15eee43
2010-06-06 22:36:35 +00:00
nelson%bolyard.com
25cae7d289
Bug 506041: Correct misspellings in source code comments
...
Patch contributed by Michael Kohler <michaelkohler@live.com>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@260229 18797224-902f-48f8-a5cc-f745e15eee43
2010-04-25 23:37:40 +00:00
nelson%bolyard.com
2e8e9e524a
Bug 469619: Coverity errors reported in libSMIME
...
Patch contributed by Shailendra Jain <shailen.n.jain@gmail.com>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@259978 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-15 07:25:15 +00:00
wtc%google.com
dd52174c15
Bug 510436: Add macros for build numbers (4th component of version number)
...
to nssutil.h and nss.h. r=christophe,nelson.
Modified Files:
lib/nss/nss.h lib/nss/nss.rc lib/nss/nssinit.c
lib/smime/smime.rc lib/ssl/ssl.rc lib/util/nssutil.h
lib/util/nssutil.rc
git-svn-id: svn://10.0.0.236/trunk@258338 18797224-902f-48f8-a5cc-f745e15eee43
2009-09-09 14:17:36 +00:00
julien.pierre.boogz%sun.com
b0b9a5cab2
Fix for bug 494107 . Fix rpath in coreconf. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@257464 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-11 00:55:53 +00:00
emaldona%redhat.com
a0e0b2022f
Bug 486698, r=wtc, Changed .mk files to enable building of major components independently and in a chain manner by downstream distributions
...
git-svn-id: svn://10.0.0.236/trunk@256894 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-11 21:18:48 +00:00
christophe.ravel.bugs%sun.com
15ebacce7e
Bug 463678 - Need to add RPATH to 64-bit libraries on HP-UX
...
r=julien
git-svn-id: svn://10.0.0.236/trunk@255128 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 20:09:51 +00:00
nelson%bolyard.com
afce8872c4
Add new function SEC_PKCS12AddCertOrChainAndKey for bug 311483. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@254477 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-30 04:24:55 +00:00
wtc%google.com
b23ff9f322
Bug 452865: removed obsolete linker flags that were needed when libnss3
...
was linked with libsoftokn3. r=glen.beasley.
Modified Files:
cmd/platlibs.mk lib/nss/config.mk lib/smime/config.mk
lib/ssl/config.mk
git-svn-id: svn://10.0.0.236/trunk@254077 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-05 23:30:52 +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
06fe065f74
Bug 434187: fixed compiler warnings reported by GCC on Mac OS X.
...
r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@252143 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-06 01:16:31 +00:00
wtc%google.com
dd1ffe05f6
Bug 419523: Export Cert_NewTempCertificate. Remove unnecessary inclusions
...
of nssrenam.h. Remove functions that no longer need to be renamed from
nssrenam.h. r=rrelyea.
Modified Files:
cmd/vfychain/vfychain.c lib/certdb/stanpcertdb.c
lib/crmf/asn1cmn.c lib/crmf/cmmfrec.c lib/crmf/respcmn.c
lib/nss/nss.def lib/nss/nssrenam.h lib/pkcs12/p12e.c
lib/pkcs7/certread.c lib/pkcs7/p7decode.c lib/pkcs7/p7encode.c
lib/smime/cmsutil.c lib/ssl/ssl3con.c lib/ssl/ssl3ecc.c
lib/ssl/sslnonce.c lib/ssl/sslsnce.c
git-svn-id: svn://10.0.0.236/trunk@247455 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 00:01:28 +00:00
nelson%bolyard.com
411a10fd7c
Re-commit Bob Relyea's changes for bug 401928. r=nelson.
...
We'll let these bake for 8-12 hours before taking any more action.
git-svn-id: svn://10.0.0.236/trunk@244810 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 06:08:49 +00:00
rrelyea%redhat.com
98b16d6543
Baking out change that broke tinderbox
...
git-svn-id: svn://10.0.0.236/trunk@244766 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-02 02:07:03 +00:00
rrelyea%redhat.com
388e96a639
bug 401928 Support generalized PKCS #5 v2 PBEs.
...
Add support for PKCS #5 usage in smime/pkcs7 and pkcs12
r=nelson
git-svn-id: svn://10.0.0.236/trunk@244641 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-01 00:23:58 +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
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
neil.williams%sun.com
a5797bc87b
Bug 294555, unexported API calls in p12plcy.h
...
r=nelson
git-svn-id: svn://10.0.0.236/trunk@231753 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:12:13 +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
a270983097
Bug 379625 Accept SMIME preferences even when they contain NULL parameters.
...
r=rrelyea,etc
git-svn-id: svn://10.0.0.236/trunk@226088 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-07 22:44:07 +00:00
alexei.volkov.bugs%sun.com
d950fbfb9c
304361: smime: possible memory corruption when encoding/decoding smime_encryptionkeypref_template. r=nelson, sr=wtc
...
git-svn-id: svn://10.0.0.236/trunk@208470 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-25 22:26:18 +00:00
julien.pierre.bugs%sun.com
3d5bc5fab1
Fix for bug 177184 . NSS_CMSDecoder_Cancel might have a leak . And this patch might fix it, or not. But this bug needs to be put to rest.
...
git-svn-id: svn://10.0.0.236/trunk@206632 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-05 01:19:23 +00:00
nelson%bolyard.com
b2d5ca7bed
Remove FORTEZZA code from this file. Coverity CID 874. r=rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@203055 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 00:36:38 +00:00
alexei.volkov.bugs%sun.com
cceb6694e2
341120: Coverity 541 nss_cms_recipients_traverse leaks "rle". r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@202255 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-17 21:57:35 +00:00
rrelyea%redhat.com
6d69aa1d29
bug 335748 ECC support for Mozilla. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@200694 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 17:01:38 +00:00
alexei.volkov.bugs%sun.com
d5c3c824ea
[Bug 339886] param leaked at NSS_CMSCipherContext_StartEncrypt(nss/lib/smime/cmscipher.c). r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@199752 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-12 21:05:12 +00:00
nelson%bolyard.com
8cf6c7caac
Fix leak in NSS_CMSEncoder_Start error path. Bug 339914. r=alexei.volkov
...
git-svn-id: svn://10.0.0.236/trunk@199551 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 22:01:02 +00:00
julien.pierre.bugs%sun.com
cc4d136c0b
Fix for bug 335021. Add SEC_ASN1_CONSTRUCTED to S/MIME EKP template. r=relyea
...
git-svn-id: svn://10.0.0.236/trunk@195700 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-29 00:18:42 +00:00
nelson%bolyard.com
6f20576504
Bug 327677. Fix cert object reference leak. r=julien.pierre,nelson
...
Patch contributed by Alexei Volkov <alexei.volkov.bugs@sun.com>
git-svn-id: svn://10.0.0.236/trunk@191662 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-03 04:03:39 +00:00
wtchang%redhat.com
00618619a6
Bugzilla Bug 326403: use "Mozilla Foundation" as the manufacturer or
...
producer of our shared libraries/DLLs. Removed the optional copyright
notices from our DLLs. r=relyea,jpierre.
Modified Files:
lib/ckfw/builtins/constants.c lib/ckfw/builtins/nssckbi.rc
lib/ckfw/capi/nsscapi.rc lib/ckfw/dbm/instance.c
lib/freebl/freebl.rc lib/nss/nss.rc lib/smime/smime.rc
lib/softoken/pkcs11.c lib/softoken/softokn.rc lib/ssl/ssl.rc
git-svn-id: svn://10.0.0.236/trunk@191511 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-01 19:44:36 +00:00