Compare commits

..

115 Commits

Author SHA1 Message Date
cltbld
931d8eedab "Automated configuration bump, release for firefox 3.0.19build1"
git-svn-id: svn://10.0.0.236/branches/release@259954 18797224-902f-48f8-a5cc-f745e15eee43
2010-03-13 02:02:11 +00:00
cltbld
2a1a9ff2df "Automated configuration bump, release for firefox 3.0.18build1"
git-svn-id: svn://10.0.0.236/branches/release@259581 18797224-902f-48f8-a5cc-f745e15eee43
2010-02-03 03:05:03 +00:00
cltbld
0543390bce "Automated configuration bump, release for xulrunner 1.9.0.17build1"
git-svn-id: svn://10.0.0.236/branches/release@259282 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 12:05:55 +00:00
cltbld
034d214153 "Automated configuration bump, release for xulrunner 1.9.0.17build1"
git-svn-id: svn://10.0.0.236/branches/release@259281 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 11:53:54 +00:00
cltbld
71605a6a9a "Automated configuration bump, release for xulrunner 1.9.0.17build1"
git-svn-id: svn://10.0.0.236/branches/release@259280 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-22 11:47:31 +00:00
cltbld
961845c47e "Automated configuration bump, release for firefox 3.0.17build1"
git-svn-id: svn://10.0.0.236/branches/release@259275 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-21 23:38:05 +00:00
cltbld
1c627c7812 "Automated configuration bump, release for xulrunner 1.9.0.16build2"
git-svn-id: svn://10.0.0.236/branches/release@259138 18797224-902f-48f8-a5cc-f745e15eee43
2009-12-01 23:04:56 +00:00
cltbld
7f17e27cf0 "Automated configuration bump, release for firefox 3.0.16build1"
git-svn-id: svn://10.0.0.236/branches/release@259107 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-30 18:25:22 +00:00
cltbld
c17680a4e5 "Automated configuration bump, release for xulrunner 1.9.0.15build1"
git-svn-id: svn://10.0.0.236/branches/release@258626 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-07 17:47:36 +00:00
cltbld
9bf6ea3c31 "Automated configuration bump, release for firefox 3.0.15build1"
git-svn-id: svn://10.0.0.236/branches/release@258610 18797224-902f-48f8-a5cc-f745e15eee43
2009-10-06 18:00:29 +00:00
cltbld
801a8d9999 "Automated configuration bump, release for xulrunner 1.9.0.14build1"
git-svn-id: svn://10.0.0.236/branches/release@258235 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-25 22:13:30 +00:00
cltbld
1ce29d2ed0 "Automated configuration bump, release for xulrunner 1.9.0.14build1"
git-svn-id: svn://10.0.0.236/branches/release@258231 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-25 21:16:07 +00:00
cltbld
cf5e912905 "Automated configuration bump, release for xulrunner 1.9.0.14build1"
git-svn-id: svn://10.0.0.236/branches/release@258230 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-25 20:42:20 +00:00
cltbld
991f66a42c "Automated configuration bump, release for firefox 3.0.14build1"
git-svn-id: svn://10.0.0.236/branches/release@258212 18797224-902f-48f8-a5cc-f745e15eee43
2009-08-24 17:38:55 +00:00
cltbld
0b3425a639 "Automated configuration bump, release for xulrunner 1.9.0.13build1"
git-svn-id: svn://10.0.0.236/branches/release@257896 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-31 17:00:01 +00:00
cltbld
095ae364d7 "Automated configuration bump, release for xulrunner 1.9.0.13build1"
git-svn-id: svn://10.0.0.236/branches/release@257895 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-31 16:20:22 +00:00
cltbld
4ee5de5033 "Automated configuration bump, release for firefox 3.0.13build1"
git-svn-id: svn://10.0.0.236/branches/release@257891 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-31 04:22:44 +00:00
cltbld
ae9b838489 "Automated configuration bump, release for firefox 3.0.13build1"
git-svn-id: svn://10.0.0.236/branches/release@257890 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-31 04:14:38 +00:00
cltbld
188ea73fac "Automated configuration bump, release for xulrunner 1.9.0.12build1"
git-svn-id: svn://10.0.0.236/branches/release@257654 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-07 23:15:10 +00:00
cltbld
3ad6129780 "Automated configuration bump, release for firefox 3.0.12build1"
git-svn-id: svn://10.0.0.236/branches/release@257641 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-06 16:57:15 +00:00
cltbld
d1565f139b "Automated configuration bump, release for xulrunner 1.9.0.11build2"
git-svn-id: svn://10.0.0.236/branches/release@257383 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-03 20:20:54 +00:00
cltbld
cb97343418 "Automated configuration bump, release for firefox 3.0.11build1"
git-svn-id: svn://10.0.0.236/branches/release@257227 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-19 15:33:49 +00:00
cltbld
cf34e1edd4 "Automated configuration bump, release for xulrunner 1.9.0.10build1"
git-svn-id: svn://10.0.0.236/branches/release@257170 18797224-902f-48f8-a5cc-f745e15eee43
2009-05-12 15:53:22 +00:00
cltbld
dfd8c7a9f9 "Automated configuration bump, release for firefox 3.0.10build1"
git-svn-id: svn://10.0.0.236/branches/release@257037 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 22:42:57 +00:00
cltbld
d104ac4be2 "Automated configuration bump, release for firefox 3.0.10build1"
git-svn-id: svn://10.0.0.236/branches/release@257036 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 22:36:24 +00:00
cltbld
6dece5a779 "Automated configuration bump, release for firefox 3.0.9build1"
git-svn-id: svn://10.0.0.236/branches/release@256823 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-06 16:38:02 +00:00
cltbld
6334f72206 "Automated configuration bump, release for firefox 3.0.8build1"
git-svn-id: svn://10.0.0.236/branches/release@256697 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-26 00:07:38 +00:00
cltbld
c308e60f30 "Automated configuration bump, release for firefox 3.0.8build1"
git-svn-id: svn://10.0.0.236/branches/release@256696 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-26 00:00:43 +00:00
cltbld
d7b0531318 "Automated configuration bump, release for xulrunner 1.9.0.7build1"
git-svn-id: svn://10.0.0.236/branches/release@256531 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-13 16:47:56 +00:00
cltbld
eeb4968977 "Automated configuration bump, release for firefox 3.0.7build1"
git-svn-id: svn://10.0.0.236/branches/release@256242 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-17 18:23:00 +00:00
cltbld
d78a15e213 "Automated configuration bump, release for xulrunner 1.9.0.6build1"
git-svn-id: svn://10.0.0.236/branches/release@256093 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-04 19:32:51 +00:00
cltbld
45d22db0fb "Automated configuration bump, release for firefox 3.0.6build1"
git-svn-id: svn://10.0.0.236/branches/release@255853 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-19 20:12:39 +00:00
cltbld
6620cb4f52 "Automated configuration bump, release for firefox 3.0.6build1"
git-svn-id: svn://10.0.0.236/branches/release@255852 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-19 20:07:23 +00:00
cltbld
93bf4cbbfe "Automated configuration bump, release for xulrunner 1.9.0.5build1"
git-svn-id: svn://10.0.0.236/branches/release@255642 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-26 13:53:37 +00:00
cltbld
a460954b54 "Automated configuration bump, release for firefox 3.0.5build1"
git-svn-id: svn://10.0.0.236/branches/release@255293 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 05:08:39 +00:00
cltbld
4b4a7b0a1c "Automated configuration bump, release for firefox 3.0.5build1"
git-svn-id: svn://10.0.0.236/branches/release@255292 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 05:03:03 +00:00
cltbld
2045a62f5f "Automated configuration bump, release for xulrunner 1.9.0.4build1"
git-svn-id: svn://10.0.0.236/branches/release@255030 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-13 20:28:50 +00:00
cltbld
dc69be5e0f "Automated configuration bump, release for xulrunner 1.9.0.4build1"
git-svn-id: svn://10.0.0.236/branches/release@255026 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-13 18:37:45 +00:00
cltbld
8839bff2be "Automated configuration bump, release for firefox 3.0.4build1"
git-svn-id: svn://10.0.0.236/branches/release@254824 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-30 03:22:46 +00:00
cltbld
7b8d870520 "Automated configuration bump, release for xulrunner 1.9.0.3build1"
git-svn-id: svn://10.0.0.236/branches/release@254438 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-26 04:38:52 +00:00
cltbld
bd80e8e97b "Automated configuration bump, release for xulrunner 1.9.0.3build1"
git-svn-id: svn://10.0.0.236/branches/release@254437 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-26 01:14:19 +00:00
cltbld
7b799934e7 "Automated configuration bump, release for firefox 3.0.3build1"
git-svn-id: svn://10.0.0.236/branches/release@254411 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-24 21:33:22 +00:00
cltbld
7b56b48f8b "Automated configuration bump, release for xulrunner 1.9.0.2build1"
git-svn-id: svn://10.0.0.236/branches/release@254386 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-24 14:08:27 +00:00
cltbld
34ac30982e "Automated configuration bump, release for firefox 3.0.2build1"
git-svn-id: svn://10.0.0.236/branches/release@253878 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 15:20:11 +00:00
nrthomas%gmail.com
fb63af635f Bug 445991, use Thunderbird.app on mac since not all the branding changes made the cutoff
git-svn-id: svn://10.0.0.236/branches/release@253324 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-29 04:58:25 +00:00
cltbld
9e6c560747 "Automated configuration bump, release for thunderbird 3.0a2build1"
git-svn-id: svn://10.0.0.236/branches/release@253267 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-25 01:26:22 +00:00
nrthomas%gmail.com
96fbdb013d Bug 445991, update release configs for branding changes, p=gozer, r=me
git-svn-id: svn://10.0.0.236/branches/release@253259 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-24 21:57:08 +00:00
nrthomas%gmail.com
0d8d580d24 Bug 441294, setup t'bird builds on release automation, r=bhearsum
git-svn-id: svn://10.0.0.236/branches/release@253258 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-24 21:20:34 +00:00
cltbld
6e2a9397d2 "Automated configuration bump, release for xulrunner 1.9.0.1build1"
git-svn-id: svn://10.0.0.236/branches/release@253234 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-24 13:14:52 +00:00
cltbld
efeae1d426 "Automated configuration bump, release for xulrunner 1.9.0.1build1"
git-svn-id: svn://10.0.0.236/branches/release@253233 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-24 13:08:58 +00:00
ted.mielczarek%gmail.com
bdedd3cda1 bug 444033 - drop throttled/enabled percentage of Windows client to 10% r=bhearsum
git-svn-id: svn://10.0.0.236/branches/release@252958 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-10 15:37:34 +00:00
cltbld
0915848efe "Automated configuration bump, release for firefox 3.0.1build1"
git-svn-id: svn://10.0.0.236/branches/release@252794 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-02 13:19:56 +00:00
cltbld
8a14f98c41 "Automated configuration bump, release for xulrunner 1.9rc3build1"
git-svn-id: svn://10.0.0.236/branches/release@252226 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-10 20:20:48 +00:00
mark.finkle%gmail.com
c991674af0 b=435460, r=nthomas. enable jemalloc on release branch
git-svn-id: svn://10.0.0.236/branches/release@252219 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-10 14:34:58 +00:00
cltbld
b32f67bbcc "Automated configuration bump, release for firefox 3.0rc3build1"
git-svn-id: svn://10.0.0.236/branches/release@252213 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-10 11:00:42 +00:00
nrthomas%gmail.com
7ffebcee9f Bug 435460, enable SDK and push the files correctly for XULrunner releases, r=bhearsum
git-svn-id: svn://10.0.0.236/branches/release@252079 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-03 14:24:08 +00:00
nrthomas%gmail.com
51e14c93a9 Bug 435460, enable symbol generation and upload, with source server support, r=bhearsum & carrying over r=ted on the nightly config for source server
git-svn-id: svn://10.0.0.236/branches/release@251950 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 22:04:23 +00:00
cltbld
c5ef8c5224 "Automated configuration bump, release for xulrunner 1.9rc2build1"
git-svn-id: svn://10.0.0.236/branches/release@251948 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 21:58:55 +00:00
cltbld
95ea8913db "Automated configuration bump, release for xulrunner 1.9rc2build1"
git-svn-id: svn://10.0.0.236/branches/release@251947 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 21:53:31 +00:00
cltbld
e3cd6d1fc1 "Automated configuration bump, release for firefox 3.0rc2build1"
git-svn-id: svn://10.0.0.236/branches/release@251923 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 10:37:05 +00:00
cltbld
9c8381e790 "Automated configuration bump, release for firefox 3.0rc2build1"
git-svn-id: svn://10.0.0.236/branches/release@251921 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-29 10:22:47 +00:00
cltbld
f04cd31af4 "Automated configuration bump, release for firefox 3.0rc1build1"
git-svn-id: svn://10.0.0.236/branches/release@251543 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-12 09:43:29 +00:00
cltbld
2d24a33b99 "Automated configuration bump, release for thunderbird 3.0a1build1"
git-svn-id: svn://10.0.0.236/branches/release@251364 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 22:19:07 +00:00
cltbld
166e784f13 "Automated configuration bump, release for thunderbird 3.0a1build1"
git-svn-id: svn://10.0.0.236/branches/release@251361 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 21:51:06 +00:00
nrthomas%gmail.com
3fe9a4989d Bug 431788, followup to fix quoting
git-svn-id: svn://10.0.0.236/branches/release@251358 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 21:34:26 +00:00
cltbld
648068e289 "Automated configuration bump, release for thunderbird 3.0a1build1"
git-svn-id: svn://10.0.0.236/branches/release@251356 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 21:21:19 +00:00
nrthomas%gmail.com
5ff8ee481d Bug 431788, add configs on release branch for Tb3.0a1, r=bhearsum
git-svn-id: svn://10.0.0.236/branches/release@251338 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-07 17:40:08 +00:00
nrthomas%gmail.com
63fa433d8e Bug 428074, change update channel to release for 3.0 RC builds, r=bhearsum
git-svn-id: svn://10.0.0.236/branches/release@251003 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-30 20:51:24 +00:00
(no author)
76c7e61a68 This commit was manufactured by cvs2svn to create branch 'release'.
git-svn-id: svn://10.0.0.236/branches/release@250880 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-28 18:04:07 +00:00
ted.mielczarek%gmail.com
862b59a69e bug 424240, bug 428615 - env vars for srcsrv support. patches by Lukas Blakk <lukasblakk@gmail.com>, r=me, a=beltzner, r=nthomas for landing on release branch
git-svn-id: svn://10.0.0.236/branches/release@250254 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-15 10:37:23 +00:00
cltbld
c522f79ece "Automated configuration bump, release for xulrunner 3.0b4rc1"
git-svn-id: svn://10.0.0.236/branches/release@250128 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-12 18:05:30 +00:00
cltbld
e592827a71 "Automated configuration bump, release for xulrunner 3.0b4rc1"
git-svn-id: svn://10.0.0.236/branches/release@250126 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-12 17:11:33 +00:00
cltbld
fe7436ebaf "Automated configuration bump, release for xulrunner 3.0b4rc1"
git-svn-id: svn://10.0.0.236/branches/release@250118 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-12 08:06:06 +00:00
cltbld
e1a7f7e17d "Automated configuration bump, release for xulrunner 3.0b4rc1"
git-svn-id: svn://10.0.0.236/branches/release@250098 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-11 22:45:51 +00:00
ted.mielczarek%gmail.com
3e048fdef2 bug 424960 - only enable crash reporting for X% of release builds--set enable percent to 25% on fx-win32-tbox. r=rhelmer
git-svn-id: svn://10.0.0.236/branches/release@249803 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 14:54:02 +00:00
nrthomas%gmail.com
81cf65bb4a Bug 421012, global s/md5/sha1/ for update hash function (even for configs that don't use it)
git-svn-id: svn://10.0.0.236/branches/release@248902 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-31 19:35:14 +00:00
cltbld
561dfdcf56 "Automated configuration bump, release for firefox 3.0b5rc1"
git-svn-id: svn://10.0.0.236/branches/release@248589 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-26 11:52:47 +00:00
rhelmer%mozilla.com
671a47eab2 set JAVA_HOME explicitly b=415180 r=bsmedberg
git-svn-id: svn://10.0.0.236/branches/release@248013 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-17 19:35:11 +00:00
rhelmer%mozilla.com
46e82a1ece bustage fix, missing semicolon
git-svn-id: svn://10.0.0.236/branches/release@247216 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 19:15:33 +00:00
rhelmer%mozilla.com
84ecf071e1 create xulrunner release branch for use with release automation b=415180 r=nthomas
git-svn-id: svn://10.0.0.236/branches/release@247196 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 16:51:57 +00:00
cltbld
7e3a0bcda8 "Automated configuration bump, release for firefox 3.0b4rc1"
git-svn-id: svn://10.0.0.236/branches/release@246960 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-04 00:29:17 +00:00
nrthomas%gmail.com
faab209902 Bug 418926, config changes for PGO on releases, p=joduinn, r=me
git-svn-id: svn://10.0.0.236/branches/release@246953 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-03 23:07:18 +00:00
rhelmer%mozilla.com
891d00f3cf take optimizations from nightlies, b=409880, r=nthomas
git-svn-id: svn://10.0.0.236/branches/release@244936 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-05 18:20:00 +00:00
cltbld
41c933f51e "Automated configuration bump, release for firefox 3.0b3rc1"
git-svn-id: svn://10.0.0.236/branches/release@244908 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-05 02:57:15 +00:00
cltbld
2aa37796fa "Automated configuration bump, release for firefox 3.0b3rc1"
git-svn-id: svn://10.0.0.236/branches/release@244906 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-05 02:41:51 +00:00
(no author)
f7ca841056 This commit was manufactured by cvs2svn to create branch 'release'.
git-svn-id: svn://10.0.0.236/branches/release@244825 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-03 20:43:46 +00:00
rhelmer%mozilla.com
232773f5f4 set WIN32_REDIST_DIR as env var instead b=407988
git-svn-id: svn://10.0.0.236/branches/release@240897 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 02:52:43 +00:00
rhelmer%mozilla.com
76874b45d1 set WIN32_REDIST_DIR in mozconfig b=407988 r=mconnor
git-svn-id: svn://10.0.0.236/branches/release@240885 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-12 01:08:07 +00:00
cltbld
c56f7bb4fb "Automated configuration bump, release for firefox 3.0b2rc1"
git-svn-id: svn://10.0.0.236/branches/release@240749 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-10 20:37:25 +00:00
bhearsum%mozilla.com
8a6ccb43c2 bug 406016: add symbol server config variables to 'release' tinder-config.pl's. r=cf patch=me
git-svn-id: svn://10.0.0.236/branches/release@240119 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-29 18:06:33 +00:00
nrthomas%gmail.com
19f1281ca6 Bug 401741, release build configs for 3.0b1, r=coop
git-svn-id: svn://10.0.0.236/branches/release@238601 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 22:32:58 +00:00
nrthomas%gmail.com
b0ea7ee81e Bug 402724, sync en-US nightly, en-US releases & l10n nightly configs for easier diffing (Firefox Trunk only), r=coop
git-svn-id: svn://10.0.0.236/branches/release@238589 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-06 18:06:36 +00:00
bhearsum%mozilla.com
d7084ee4fd bug 402541: add CONFIG lines to tinder-config.pl's on release tag. r=cf, patch=me
git-svn-id: svn://10.0.0.236/branches/release@238538 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 16:30:10 +00:00
preed%mozilla.com
6893804145 Point the release tinder configs at the new (MozillaBuild) location of blat.
git-svn-id: svn://10.0.0.236/branches/release@235921 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 21:05:24 +00:00
cltbld
2b283f97a6 Bug 394037, tinderbox config bumps for gecko 1.9a8, me=joduinn
git-svn-id: svn://10.0.0.236/branches/release@235533 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 08:36:48 +00:00
rhelmer%mozilla.com
3a2ac33def make buildtree configurable by bootstrap b=391968 r=cf
git-svn-id: svn://10.0.0.236/branches/release@232425 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 00:22:10 +00:00
nrthomas%gmail.com
dc6eef1493 Bug 390514, tinderbox config bumps for gecko 1.9a7, plus pull in the mozconfig trimming already in nightly builds from bug 387181, and fix up the comment headers, r=coop
git-svn-id: svn://10.0.0.236/branches/release@231311 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 15:28:02 +00:00
nrthomas%gmail.com
bec02b88eb Bug 386114, changes for 1.9a6 from libxul landing, r=mconnor
git-svn-id: svn://10.0.0.236/branches/release@229006 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 15:09:48 +00:00
nrthomas%gmail.com
4091110aaf Bug 386114, update linux mozconfig for 1.9a6 & tinderbox change, p=rhelmer, r=cf
git-svn-id: svn://10.0.0.236/branches/release@229000 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 13:34:54 +00:00
nrthomas%gmail.com
a2f8f6afa8 Bug 386114, push Breakpad symbols on Linux for 1.9a6, r=luser
git-svn-id: svn://10.0.0.236/branches/release@228998 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 11:35:23 +00:00
rhelmer%mozilla.com
a00b159b55 Bug 386114: Tinderconfig bumps for the 1.9a6 release. patch=joduinn, r=rhelmer.
git-svn-id: svn://10.0.0.236/branches/release@228912 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-28 00:47:48 +00:00
ccooper%deadsquid.com
4ca79d331e b=373373
-set MofoRoot


git-svn-id: svn://10.0.0.236/branches/release@228845 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 15:26:13 +00:00
preed%mozilla.com
3ffbe5b70c Bug 382873: Tinderconfig bumps for the 1.9a5 release. patch=joduinn, r=preed.
git-svn-id: svn://10.0.0.236/branches/release@227387 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-01 22:31:55 +00:00
nrthomas%gmail.com
01bac7c6a0 Enable pushing Breakpad symbols to server on release builds, b=378905, r=preed
git-svn-id: svn://10.0.0.236/branches/release@225521 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 10:11:36 +00:00
rhelmer%mozilla.com
730d946722 config changes for gecko1.9a4 b=378905 r=cf
git-svn-id: svn://10.0.0.236/branches/release@225105 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 20:07:04 +00:00
preed%mozilla.com
a2d0a7429a For the 1.9a3 release, make sure all the mozconfigs have -j1, bump tag and milestone, and add tinder-config options to build the breakbag symbols, but NOT push them up (yet).
git-svn-id: svn://10.0.0.236/branches/release@222228 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 03:14:00 +00:00
rhelmer%mozilla.com
01092a0067 add appv/extv r=preed
git-svn-id: svn://10.0.0.236/branches/release@219626 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 01:59:15 +00:00
rhelmer%mozilla.com
589c20624d fix comments r=preed b=369554
git-svn-id: svn://10.0.0.236/branches/release@219622 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 00:52:45 +00:00
rhelmer%mozilla.com
42f2431f28 checking in configs so builds can get started, b=369554 r=rhelmer
git-svn-id: svn://10.0.0.236/branches/release@219615 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 23:54:47 +00:00
rhelmer%mozilla.com
771c30f1e3 disable non-alive tests on release branch b=362418 r=preed
git-svn-id: svn://10.0.0.236/branches/release@216432 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 20:03:17 +00:00
rhelmer%mozilla.com
e62ffa43cc disable update packaging for gecko 1.9a1 r=preed b=362418
git-svn-id: svn://10.0.0.236/branches/release@216272 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 18:50:28 +00:00
rhelmer%mozilla.com
0b87c1db22 remove unsupported optimizations r=vlad
git-svn-id: svn://10.0.0.236/branches/release@216214 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:27:03 +00:00
rhelmer%mozilla.com
da00a15686 use different code name for Mac r=preed b=362418
git-svn-id: svn://10.0.0.236/branches/release@216213 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 04:11:29 +00:00
rhelmer%mozilla.com
9628510565 time stamps should not be used for release builds b=362418 r=preed
git-svn-id: svn://10.0.0.236/branches/release@216212 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 03:50:24 +00:00
(no author)
65863d47ac This commit was manufactured by cvs2svn to create branch 'release'.
git-svn-id: svn://10.0.0.236/branches/release@216204 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 02:21:24 +00:00
1923 changed files with 2519 additions and 828286 deletions

View File

@@ -1,181 +0,0 @@
#! gmake
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
ifeq ($(OS_TARGET),WINCE)
DIRS = lib # omit cmd since wince has no command line shell
endif
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
nss_build_all: build_coreconf build_nspr build_dbm all
nss_clean_all: clobber_coreconf clobber_nspr clobber_dbm clobber
build_coreconf:
cd $(CORE_DEPTH)/coreconf ; $(MAKE)
clobber_coreconf:
cd $(CORE_DEPTH)/coreconf ; $(MAKE) clobber
NSPR_CONFIG_STATUS = $(CORE_DEPTH)/../nsprpub/$(OBJDIR_NAME)/config.status
NSPR_CONFIGURE = $(CORE_DEPTH)/../nsprpub/configure
#
# Translate coreconf build options to NSPR configure options.
#
ifdef BUILD_OPT
NSPR_CONFIGURE_OPTS += --disable-debug --enable-optimize
endif
ifdef USE_64
NSPR_CONFIGURE_OPTS += --enable-64bit
endif
ifeq ($(OS_TARGET),WIN95)
NSPR_CONFIGURE_OPTS += --enable-win32-target=WIN95
endif
ifdef USE_DEBUG_RTL
NSPR_CONFIGURE_OPTS += --enable-debug-rtl
endif
ifdef NS_USE_GCC
NSPR_COMPILERS = CC=gcc CXX=g++
endif
#
# Some pwd commands on Windows (for example, the pwd
# command in Cygwin) return a pathname that begins
# with a (forward) slash. When such a pathname is
# passed to Windows build tools (for example, cl), it
# is mistaken as a command-line option. If that is the case,
# we use a relative pathname as NSPR's prefix on Windows.
#
USEABSPATH="YES"
ifeq (,$(filter-out WIN%,$(OS_TARGET)))
ifeq (,$(findstring :,$(shell pwd)))
USEABSPATH="NO"
endif
endif
ifeq ($(USEABSPATH),"YES")
NSPR_PREFIX = $(shell pwd)/../../dist/$(OBJDIR_NAME)
else
NSPR_PREFIX = $$(topsrcdir)/../dist/$(OBJDIR_NAME)
endif
$(NSPR_CONFIG_STATUS): $(NSPR_CONFIGURE)
$(NSINSTALL) -D $(CORE_DEPTH)/../nsprpub/$(OBJDIR_NAME)
cd $(CORE_DEPTH)/../nsprpub/$(OBJDIR_NAME) ; \
$(NSPR_COMPILERS) sh ../configure \
$(NSPR_CONFIGURE_OPTS) \
--with-dist-prefix='$(NSPR_PREFIX)' \
--with-dist-includedir='$(NSPR_PREFIX)/include'
build_nspr: $(NSPR_CONFIG_STATUS)
cd $(CORE_DEPTH)/../nsprpub/$(OBJDIR_NAME) ; $(MAKE)
clobber_nspr: $(NSPR_CONFIG_STATUS)
cd $(CORE_DEPTH)/../nsprpub/$(OBJDIR_NAME) ; $(MAKE) clobber
build_dbm:
cd $(CORE_DEPTH)/dbm ; $(MAKE) export libs
clobber_dbm:
cd $(CORE_DEPTH)/dbm ; $(MAKE) clobber
moz_import::
ifeq (,$(filter-out WIN%,$(OS_TARGET)))
$(NSINSTALL) -D $(DIST)/include/nspr
cp $(DIST)/../include/nspr/*.h $(DIST)/include/nspr
cp $(DIST)/../include/* $(DIST)/include
ifdef BUILD_OPT
cp $(DIST)/../WIN32_O.OBJ/lib/* $(DIST)/lib
else
cp $(DIST)/../WIN32_D.OBJ/lib/* $(DIST)/lib
endif
mv $(DIST)/lib/dbm32.lib $(DIST)/lib/dbm.lib
else
ifeq ($(OS_TARGET),OS2)
cp -rf $(DIST)/../include $(DIST)
cp -rf $(DIST)/../lib $(DIST)
cp -f $(DIST)/lib/libmozdbm_s.$(LIB_SUFFIX) $(DIST)/lib/libdbm.$(LIB_SUFFIX)
else
$(NSINSTALL) -L ../../dist include $(DIST)
$(NSINSTALL) -L ../../dist lib $(DIST)
cp $(DIST)/lib/libmozdbm_s.$(LIB_SUFFIX) $(DIST)/lib/libdbm.$(LIB_SUFFIX)
endif
endif
nss_RelEng_bld: build_coreconf import build_dbm all
package:
$(MAKE) -C pkg publish

View File

@@ -1,61 +0,0 @@
#! gmake
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
CORE_DEPTH = ../..
DEPTH = ../..
include manifest.mn
include $(CORE_DEPTH)/coreconf/config.mk
ifdef BUILD_LIBPKIX_TESTS
DIRS += libpkix
endif
ifndef USE_SYSTEM_ZLIB
ZLIB_SRCDIR = zlib # Add the zlib directory to DIRS.
endif
INCLUDES += \
-I$(DIST)/../public/security \
-I./include \
$(NULL)
include $(CORE_DEPTH)/coreconf/rules.mk
symbols::
@echo "TARGETS = $(TARGETS)"

View File

@@ -1,80 +0,0 @@
#! gmake
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include ../platlibs.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
include ../platrules.mk

View File

@@ -1,391 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1994-2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
/*
* Tool for converting builtin CA certs.
*
* $Id: addbuiltin.c,v 1.14 2007-02-14 00:35:52 alexei.volkov.bugs%sun.com Exp $
*/
#include "nssrenam.h"
#include "nss.h"
#include "cert.h"
#include "certdb.h"
#include "secutil.h"
#include "pk11func.h"
#if defined(WIN32)
#include <fcntl.h>
#include <io.h>
#endif
void dumpbytes(unsigned char *buf, int len)
{
int i;
for (i=0; i < len; i++) {
if ((i !=0) && ((i & 0xf) == 0)) {
printf("\n");
}
printf("\\%03o",buf[i]);
}
printf("\n");
}
char *getTrustString(unsigned int trust)
{
if (trust & CERTDB_TRUSTED) {
if (trust & CERTDB_TRUSTED_CA) {
return "CKT_NETSCAPE_TRUSTED_DELEGATOR|CKT_NETSCAPE_TRUSTED";
} else {
return "CKT_NETSCAPE_TRUSTED";
}
} else {
if (trust & CERTDB_TRUSTED_CA) {
return "CKT_NETSCAPE_TRUSTED_DELEGATOR";
} else if (trust & CERTDB_VALID_CA) {
return "CKT_NETSCAPE_VALID_DELEGATOR";
} else {
return "CKT_NETSCAPE_TRUST_UNKNOWN";
}
}
return "CKT_NETSCAPE_TRUST_UNKNOWN"; /* not reached */
}
static const SEC_ASN1Template serialTemplate[] = {
{ SEC_ASN1_INTEGER, offsetof(CERTCertificate,serialNumber) },
{ 0 }
};
static SECStatus
ConvertCertificate(SECItem *sdder, char *nickname, CERTCertTrust *trust)
{
SECStatus rv = SECSuccess;
CERTCertificate *cert;
unsigned char sha1_hash[SHA1_LENGTH];
unsigned char md5_hash[MD5_LENGTH];
SECItem *serial = NULL;
cert = CERT_DecodeDERCertificate(sdder, PR_FALSE, nickname);
if (!cert) {
return SECFailure;
}
serial = SEC_ASN1EncodeItem(NULL,NULL,cert,serialTemplate);
if (!serial) {
return SECFailure;
}
printf("\n#\n# Certificate \"%s\"\n#\n",nickname);
printf("CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE\n");
printf("CKA_TOKEN CK_BBOOL CK_TRUE\n");
printf("CKA_PRIVATE CK_BBOOL CK_FALSE\n");
printf("CKA_MODIFIABLE CK_BBOOL CK_FALSE\n");
printf("CKA_LABEL UTF8 \"%s\"\n",nickname);
printf("CKA_CERTIFICATE_TYPE CK_CERTIFICATE_TYPE CKC_X_509\n");
printf("CKA_SUBJECT MULTILINE_OCTAL\n");
dumpbytes(cert->derSubject.data,cert->derSubject.len);
printf("END\n");
printf("CKA_ID UTF8 \"0\"\n");
printf("CKA_ISSUER MULTILINE_OCTAL\n");
dumpbytes(cert->derIssuer.data,cert->derIssuer.len);
printf("END\n");
printf("CKA_SERIAL_NUMBER MULTILINE_OCTAL\n");
dumpbytes(serial->data,serial->len);
printf("END\n");
printf("CKA_VALUE MULTILINE_OCTAL\n");
dumpbytes(sdder->data,sdder->len);
printf("END\n");
PK11_HashBuf(SEC_OID_SHA1, sha1_hash, sdder->data, sdder->len);
PK11_HashBuf(SEC_OID_MD5, md5_hash, sdder->data, sdder->len);
printf("\n# Trust for Certificate \"%s\"\n",nickname);
printf("CKA_CLASS CK_OBJECT_CLASS CKO_NETSCAPE_TRUST\n");
printf("CKA_TOKEN CK_BBOOL CK_TRUE\n");
printf("CKA_PRIVATE CK_BBOOL CK_FALSE\n");
printf("CKA_MODIFIABLE CK_BBOOL CK_FALSE\n");
printf("CKA_LABEL UTF8 \"%s\"\n",nickname);
printf("CKA_CERT_SHA1_HASH MULTILINE_OCTAL\n");
dumpbytes(sha1_hash,SHA1_LENGTH);
printf("END\n");
printf("CKA_CERT_MD5_HASH MULTILINE_OCTAL\n");
dumpbytes(md5_hash,MD5_LENGTH);
printf("END\n");
printf("CKA_ISSUER MULTILINE_OCTAL\n");
dumpbytes(cert->derIssuer.data,cert->derIssuer.len);
printf("END\n");
printf("CKA_SERIAL_NUMBER MULTILINE_OCTAL\n");
dumpbytes(serial->data,serial->len);
printf("END\n");
printf("CKA_TRUST_SERVER_AUTH CK_TRUST %s\n",
getTrustString(trust->sslFlags));
printf("CKA_TRUST_EMAIL_PROTECTION CK_TRUST %s\n",
getTrustString(trust->emailFlags));
printf("CKA_TRUST_CODE_SIGNING CK_TRUST %s\n",
getTrustString(trust->objectSigningFlags));
#ifdef notdef
printf("CKA_TRUST_CLIENT_AUTH CK_TRUST CKT_NETSCAPE_TRUSTED\n");*/
printf("CKA_TRUST_DIGITAL_SIGNATURE CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
printf("CKA_TRUST_NON_REPUDIATION CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
printf("CKA_TRUST_KEY_ENCIPHERMENT CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
printf("CKA_TRUST_DATA_ENCIPHERMENT CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
printf("CKA_TRUST_KEY_AGREEMENT CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
printf("CKA_TRUST_KEY_CERT_SIGN CK_TRUST CKT_NETSCAPE_TRUSTED_DELEGATOR\n");
#endif
printf("CKA_TRUST_STEP_UP_APPROVED CK_BBOOL %s\n",
trust->sslFlags & CERTDB_GOVT_APPROVED_CA ?
"CK_TRUE" : "CK_FALSE");
PORT_Free(sdder->data);
return(rv);
}
void printheader() {
printf("# \n"
"# ***** BEGIN LICENSE BLOCK *****\n"
"# Version: MPL 1.1/GPL 2.0/LGPL 2.1\n"
"#\n"
"# The contents of this file are subject to the Mozilla Public License Version\n"
"# 1.1 (the \"License\"); you may not use this file except in compliance with\n"
"# the License. You may obtain a copy of the License at\n"
"# http://www.mozilla.org/MPL/\n"
"#\n"
"# Software distributed under the License is distributed on an \"AS IS\" basis,\n"
"# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License\n"
"# for the specific language governing rights and limitations under the\n"
"# License.\n"
"#\n"
"# The Original Code is the Netscape security libraries..\n"
"#\n"
"# The Initial Developer of the Original Code is\n"
"# Netscape Communications Corporation.\n"
"# Portions created by the Initial Developer are Copyright (C) 1994-2000\n"
"# the Initial Developer. All Rights Reserved.\n"
"#\n"
"# Contributor(s):\n"
"#\n"
"# Alternatively, the contents of this file may be used under the terms of\n"
"# either the GNU General Public License Version 2 or later (the \"GPL\"), or\n"
"# the GNU Lesser General Public License Version 2.1 or later (the \"LGPL\"),\n"
"# in which case the provisions of the GPL or the LGPL are applicable instead\n"
"# of those above. If you wish to allow use of your version of this file only\n"
"# under the terms of either the GPL or the LGPL, and not to allow others to\n"
"# use your version of this file under the terms of the MPL, indicate your\n"
"# decision by deleting the provisions above and replace them with the notice\n"
"# and other provisions required by the GPL or the LGPL. If you do not delete\n"
"# the provisions above, a recipient may use your version of this file under\n"
"# the terms of any one of the MPL, the GPL or the LGPL.\n"
"#\n"
"# ***** END LICENSE BLOCK *****\n"
"#\n"
"CVS_ID \"@(#) $RCSfile: addbuiltin.c,v $ $Revision: 1.14 $ $Date: 2007-02-14 00:35:52 $\"\n"
"\n"
"#\n"
"# certdata.txt\n"
"#\n"
"# This file contains the object definitions for the certs and other\n"
"# information \"built into\" NSS.\n"
"#\n"
"# Object definitions:\n"
"#\n"
"# Certificates\n"
"#\n"
"# -- Attribute -- -- type -- -- value --\n"
"# CKA_CLASS CK_OBJECT_CLASS CKO_CERTIFICATE\n"
"# CKA_TOKEN CK_BBOOL CK_TRUE\n"
"# CKA_PRIVATE CK_BBOOL CK_FALSE\n"
"# CKA_MODIFIABLE CK_BBOOL CK_FALSE\n"
"# CKA_LABEL UTF8 (varies)\n"
"# CKA_CERTIFICATE_TYPE CK_CERTIFICATE_TYPE CKC_X_509\n"
"# CKA_SUBJECT DER+base64 (varies)\n"
"# CKA_ID byte array (varies)\n"
"# CKA_ISSUER DER+base64 (varies)\n"
"# CKA_SERIAL_NUMBER DER+base64 (varies)\n"
"# CKA_VALUE DER+base64 (varies)\n"
"# CKA_NETSCAPE_EMAIL ASCII7 (unused here)\n"
"#\n"
"# Trust\n"
"#\n"
"# -- Attribute -- -- type -- -- value --\n"
"# CKA_CLASS CK_OBJECT_CLASS CKO_TRUST\n"
"# CKA_TOKEN CK_BBOOL CK_TRUE\n"
"# CKA_PRIVATE CK_BBOOL CK_FALSE\n"
"# CKA_MODIFIABLE CK_BBOOL CK_FALSE\n"
"# CKA_LABEL UTF8 (varies)\n"
"# CKA_ISSUER DER+base64 (varies)\n"
"# CKA_SERIAL_NUMBER DER+base64 (varies)\n"
"# CKA_CERT_HASH binary+base64 (varies)\n"
"# CKA_EXPIRES CK_DATE (not used here)\n"
"# CKA_TRUST_DIGITAL_SIGNATURE CK_TRUST (varies)\n"
"# CKA_TRUST_NON_REPUDIATION CK_TRUST (varies)\n"
"# CKA_TRUST_KEY_ENCIPHERMENT CK_TRUST (varies)\n"
"# CKA_TRUST_DATA_ENCIPHERMENT CK_TRUST (varies)\n"
"# CKA_TRUST_KEY_AGREEMENT CK_TRUST (varies)\n"
"# CKA_TRUST_KEY_CERT_SIGN CK_TRUST (varies)\n"
"# CKA_TRUST_CRL_SIGN CK_TRUST (varies)\n"
"# CKA_TRUST_SERVER_AUTH CK_TRUST (varies)\n"
"# CKA_TRUST_CLIENT_AUTH CK_TRUST (varies)\n"
"# CKA_TRUST_CODE_SIGNING CK_TRUST (varies)\n"
"# CKA_TRUST_EMAIL_PROTECTION CK_TRUST (varies)\n"
"# CKA_TRUST_IPSEC_END_SYSTEM CK_TRUST (varies)\n"
"# CKA_TRUST_IPSEC_TUNNEL CK_TRUST (varies)\n"
"# CKA_TRUST_IPSEC_USER CK_TRUST (varies)\n"
"# CKA_TRUST_TIME_STAMPING CK_TRUST (varies)\n"
"# (other trust attributes can be defined)\n"
"#\n"
"\n"
"#\n"
"# The object to tell NSS that this is a root list and we don't\n"
"# have to go looking for others.\n"
"#\n"
"BEGINDATA\n"
"CKA_CLASS CK_OBJECT_CLASS CKO_NETSCAPE_BUILTIN_ROOT_LIST\n"
"CKA_TOKEN CK_BBOOL CK_TRUE\n"
"CKA_PRIVATE CK_BBOOL CK_FALSE\n"
"CKA_MODIFIABLE CK_BBOOL CK_FALSE\n"
"CKA_LABEL UTF8 \"Mozilla Builtin Roots\"\n");
}
static void Usage(char *progName)
{
fprintf(stderr, "%s -n nickname -t trust [-i certfile]\n", progName);
fprintf(stderr,
"\tRead a der-encoded cert from certfile or stdin, and output\n"
"\tit to stdout in a format suitable for the builtin root module.\n"
"\tExample: %s -n MyCA -t \"C,C,C\" -i myca.der >> certdata.txt\n"
"\t(pipe through atob if the cert is b64-encoded)\n", progName);
fprintf(stderr, "%-15s nickname to assign to builtin cert.\n",
"-n nickname");
fprintf(stderr, "%-15s trust flags (cCTpPuw).\n", "-t trust");
fprintf(stderr, "%-15s file to read (default stdin)\n", "-i certfile");
exit(-1);
}
enum {
opt_Input = 0,
opt_Nickname,
opt_Trust
};
static secuCommandFlag addbuiltin_options[] =
{
{ /* opt_Input */ 'i', PR_TRUE, 0, PR_FALSE },
{ /* opt_Nickname */ 'n', PR_TRUE, 0, PR_FALSE },
{ /* opt_Trust */ 't', PR_TRUE, 0, PR_FALSE }
};
int main(int argc, char **argv)
{
SECStatus rv;
char *nickname;
char *trusts;
char *progName;
PRFileDesc *infile;
CERTCertTrust trust = { 0 };
SECItem derCert = { 0 };
secuCommand addbuiltin = { 0 };
addbuiltin.numOptions = sizeof(addbuiltin_options)/sizeof(secuCommandFlag);
addbuiltin.options = addbuiltin_options;
progName = strrchr(argv[0], '/');
progName = progName ? progName+1 : argv[0];
rv = SECU_ParseCommandLine(argc, argv, progName, &addbuiltin);
if (rv != SECSuccess)
Usage(progName);
if (!addbuiltin.options[opt_Nickname].activated &&
!addbuiltin.options[opt_Trust].activated) {
fprintf(stderr, "%s: you must specify both a nickname and trust.\n",
progName);
Usage(progName);
}
if (addbuiltin.options[opt_Input].activated) {
infile = PR_Open(addbuiltin.options[opt_Input].arg, PR_RDONLY, 00660);
if (!infile) {
fprintf(stderr, "%s: failed to open input file.\n", progName);
exit(1);
}
} else {
#if defined(WIN32)
/* If we're going to read binary data from stdin, we must put stdin
** into O_BINARY mode or else incoming \r\n's will become \n's,
** and latin-1 characters will be altered.
*/
int smrv = _setmode(_fileno(stdin), _O_BINARY);
if (smrv == -1) {
fprintf(stderr,
"%s: Cannot change stdin to binary mode. Use -i option instead.\n",
progName);
exit(1);
}
#endif
infile = PR_STDIN;
}
nickname = strdup(addbuiltin.options[opt_Nickname].arg);
trusts = strdup(addbuiltin.options[opt_Trust].arg);
NSS_NoDB_Init(NULL);
rv = CERT_DecodeTrustString(&trust, trusts);
if (rv) {
fprintf(stderr, "%s: incorrectly formatted trust string.\n", progName);
Usage(progName);
}
SECU_FileToItem(&derCert, infile);
/*printheader();*/
rv = ConvertCertificate(&derCert, nickname, &trust);
if (rv) {
fprintf(stderr, "%s: failed to convert certificate.\n", progName);
exit(1);
}
if (NSS_Shutdown() != SECSuccess) {
exit(1);
}
return(SECSuccess);
}

View File

@@ -1,52 +0,0 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
CORE_DEPTH = ../../..
# MODULE public and private header directories are implicitly REQUIRED.
MODULE = nss
CSRCS = \
addbuiltin.c \
$(NULL)
# The MODULE is always implicitly required.
# Listing it here in REQUIRES makes it appear twice in the cc command line.
REQUIRES = seccmd
PROGRAM = addbuiltin

View File

@@ -1,80 +0,0 @@
#! gmake
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include ../platlibs.mk
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
include ../platrules.mk

View File

@@ -1,180 +0,0 @@
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is the Netscape security libraries.
*
* The Initial Developer of the Original Code is
* Netscape Communications Corporation.
* Portions created by the Initial Developer are Copyright (C) 1994-2000
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
#include "plgetopt.h"
#include "secutil.h"
#include "nssb64.h"
#include <errno.h>
#if defined(XP_WIN) || (defined(__sun) && !defined(SVR4))
#if !defined(WIN32)
extern int fread(char *, size_t, size_t, FILE*);
extern int fwrite(char *, size_t, size_t, FILE*);
extern int fprintf(FILE *, char *, ...);
#endif
#endif
#if defined(WIN32)
#include "fcntl.h"
#include "io.h"
#endif
static PRInt32
output_binary (void *arg, const unsigned char *obuf, PRInt32 size)
{
FILE *outFile = arg;
int nb;
nb = fwrite(obuf, 1, size, outFile);
if (nb != size) {
PORT_SetError(SEC_ERROR_IO);
return -1;
}
return nb;
}
static SECStatus
decode_file(FILE *outFile, FILE *inFile)
{
NSSBase64Decoder *cx;
int nb;
SECStatus status = SECFailure;
char ibuf[4096];
cx = NSSBase64Decoder_Create(output_binary, outFile);
if (!cx) {
return -1;
}
for (;;) {
if (feof(inFile)) break;
nb = fread(ibuf, 1, sizeof(ibuf), inFile);
if (nb != sizeof(ibuf)) {
if (nb == 0) {
if (ferror(inFile)) {
PORT_SetError(SEC_ERROR_IO);
goto loser;
}
/* eof */
break;
}
}
status = NSSBase64Decoder_Update(cx, ibuf, nb);
if (status != SECSuccess) goto loser;
}
return NSSBase64Decoder_Destroy(cx, PR_FALSE);
loser:
(void) NSSBase64Decoder_Destroy(cx, PR_TRUE);
return status;
}
static void Usage(char *progName)
{
fprintf(stderr,
"Usage: %s [-i input] [-o output]\n",
progName);
fprintf(stderr, "%-20s Define an input file to use (default is stdin)\n",
"-i input");
fprintf(stderr, "%-20s Define an output file to use (default is stdout)\n",
"-o output");
exit(-1);
}
int main(int argc, char **argv)
{
char *progName;
SECStatus rv;
FILE *inFile, *outFile;
PLOptState *optstate;
PLOptStatus status;
inFile = 0;
outFile = 0;
progName = strrchr(argv[0], '/');
progName = progName ? progName+1 : argv[0];
/* Parse command line arguments */
optstate = PL_CreateOptState(argc, argv, "i:o:");
while ((status = PL_GetNextOpt(optstate)) == PL_OPT_OK) {
switch (optstate->option) {
case '?':
Usage(progName);
break;
case 'i':
inFile = fopen(optstate->value, "r");
if (!inFile) {
fprintf(stderr, "%s: unable to open \"%s\" for reading\n",
progName, optstate->value);
return -1;
}
break;
case 'o':
outFile = fopen(optstate->value, "wb");
if (!outFile) {
fprintf(stderr, "%s: unable to open \"%s\" for writing\n",
progName, optstate->value);
return -1;
}
break;
}
}
if (!inFile) inFile = stdin;
if (!outFile) {
#if defined(WIN32)
int smrv = _setmode(_fileno(stdout), _O_BINARY);
if (smrv == -1) {
fprintf(stderr,
"%s: Cannot change stdout to binary mode. Use -o option instead.\n",
progName);
return smrv;
}
#endif
outFile = stdout;
}
rv = decode_file(outFile, inFile);
if (rv != SECSuccess) {
fprintf(stderr, "%s: lossage: error=%d errno=%d\n",
progName, PORT_GetError(), errno);
return -1;
}
return 0;
}

View File

@@ -1,54 +0,0 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
CORE_DEPTH = ../../..
# MODULE public and private header directories are implicitly REQUIRED.
MODULE = nss
# This next line is used by .mk files
# and gets translated into $LINCS in manifest.mnw
# The MODULE is always implicitly required.
# Listing it here in REQUIRES makes it appear twice in the cc command line.
REQUIRES = seccmd dbm
DEFINES = -DNSPR20
CSRCS = atob.c
PROGRAM = atob

View File

@@ -1,86 +0,0 @@
#! gmake
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#######################################################################
# (1) Include initial platform-independent assignments (MANDATORY). #
#######################################################################
include manifest.mn
#MKPROG = purify -cache-dir=/u/mcgreer/pcache -best-effort \
# -always-use-cache-dir $(CC)
#######################################################################
# (2) Include "global" configuration information. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/config.mk
#######################################################################
# (3) Include "component" configuration information. (OPTIONAL) #
#######################################################################
#######################################################################
# (4) Include "local" platform-dependent assignments (OPTIONAL). #
#######################################################################
include ../platlibs.mk
#EXTRA_SHARED_LIBS += \
# -L/usr/lib \
# -lposix4 \
# $(NULL)
#######################################################################
# (5) Execute "global" rules. (OPTIONAL) #
#######################################################################
include $(CORE_DEPTH)/coreconf/rules.mk
#######################################################################
# (6) Execute "component" rules. (OPTIONAL) #
#######################################################################
#######################################################################
# (7) Execute "local" rules. (OPTIONAL). #
#######################################################################
include ../platrules.mk

File diff suppressed because it is too large Load Diff

View File

@@ -1,58 +0,0 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is the Netscape security libraries.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1994-2000
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 2 or later (the "GPL"), or
# the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
CORE_DEPTH = ../../..
MODULE = nss
REQUIRES = seccmd dbm softoken
INCLUDES += -I$(CORE_DEPTH)/nss/lib/softoken
PROGRAM = bltest
USE_STATIC_LIBS = 1
EXPORTS = \
$(NULL)
PRIVATE_EXPORTS = \
$(NULL)
CSRCS = \
blapitest.c \
$(NULL)

View File

@@ -1,49 +0,0 @@
This directory contains a set of tests for each cipher supported by
BLAPI. Each subdirectory contains known plaintext and ciphertext pairs
(and keys and/or iv's if needed). The tests can be run as a full set
with:
bltest -T
or as subsets, for example:
bltest -T -m des_ecb,md2,rsa
In each subdirectory, the plaintext, key, and iv are ascii, and treated
as such. The ciphertext is base64-encoded to avoid the hassle of binary
files.
To add a test, incremement the value in the numtests file. Create a
plaintext, key, and iv file, such that the name of the file is
incrememted one from the last set of tests. For example, if you are
adding the second test, put your data in files named plaintext1, key1,
and iv1 (ignoring key and iv if they are not needed, of course). Make
sure your key and iv are the correct number of bytes for your cipher (a
trailing \n is okay, but any other trailing bytes will be used!). Once
you have your input data, create output data by running bltest on a
trusted implementation. For example, for a new DES ECB test, run
bltest -E -m des_ecb -i plaintext1 -k key1 -o ciphertext1 -a in the
tests/des_ecb directory. Then run
bltest -T des_ecb from the cmd/bltest directory in the tree of the
implementation you want to test.
Note that the -a option above is important, it tells bltest to expect
the input to be straight ASCII, and not base64 encoded binary!
Special cases:
RC5:
RC5 can take additional parameters, the number of rounds to perform and
the wordsize to use. The number of rounds is between is between 0 and
255, and the wordsize is either is either 16, 32, or 64 bits (at this
time only 32-bit is supported). These parameters are specified in a
paramsN file, where N is an index as above. The format of the file is
"rounds=R\nwordsize=W\n".
public key modes (RSA and DSA):
Asymmetric key ciphers use keys with special properties, so creating a
key file with "Mozilla!" in it will not get you very far! To create a
public key, run bltest with the plaintext you want to encrypt, using a
trusted implementation. bltest will generate a key and store it in
"tmp.key", rename that file to keyN. For example:
bltest -E -m rsa -i plaintext0 -o ciphertext0 -e 65537 -g 32 -a
mv tmp.key key0
[note: specifying a keysize (-g) when using RSA is important!]

View File

@@ -1 +0,0 @@
oJLgOzZ1GiWt3DGo2sPKaA==

View File

@@ -1 +0,0 @@
qwertyuiopasdfgh

View File

@@ -1 +0,0 @@
fedcba9876543210

View File

@@ -1 +0,0 @@
0123456789abcdef

View File

@@ -1 +0,0 @@
PVuaCIiaKQhblgFCbVMTTg==

View File

@@ -1 +0,0 @@
fedcba9876543210

View File

@@ -1 +0,0 @@
0123456789abcdef

View File

@@ -1 +0,0 @@
taydfPlRJe3wf8Td0xJ9Tw==

View File

@@ -1 +0,0 @@
yoYCZwKnUMcS4ADHxnwObA==

View File

@@ -1 +0,0 @@
T+Wn4cs1Sbqrh/XtNd4vzQ==

View File

@@ -1 +0,0 @@
qwertyuiopasdfgh

View File

@@ -1 +0,0 @@
fedcba9876543210

View File

@@ -1 +0,0 @@
fedcba9876543210fedcba98

View File

@@ -1 +0,0 @@
fedcba9876543210fedcba9876543210

View File

@@ -1 +0,0 @@
0123456789abcdef

View File

@@ -1 +0,0 @@
6v0CGxSwow3AhsyhunfdbQ==

View File

@@ -1 +0,0 @@
Nf1GwJiBtZT+VPJp+gBhPA==

View File

@@ -1 +0,0 @@
ilB/0K3SI86Oecwh7cruGA==

View File

@@ -1 +0,0 @@
fedcba9876543210

View File

@@ -1 +0,0 @@
fedcba9876543210fedcba98

View File

@@ -1 +0,0 @@
fedcba9876543210fedcba9876543210

View File

@@ -1 +0,0 @@
0123456789abcdef

View File

@@ -1 +0,0 @@
KV3MDNGKWOc=

View File

@@ -1 +0,0 @@
12345678

View File

@@ -1 +0,0 @@
abcdefghijklmnopqrstuvwx

View File

@@ -1 +0,0 @@
Mozilla!

View File

@@ -1 +0,0 @@
RgckVNh4QcM=

View File

@@ -1 +0,0 @@
abcdefghijklmnopqrstuvwx

View File

@@ -1 +0,0 @@
Mozilla!

View File

@@ -1 +0,0 @@
Perdg9FMYQ4=

View File

@@ -1 +0,0 @@
12345678

View File

@@ -1 +0,0 @@
zyxwvuts

View File

@@ -1 +0,0 @@
Mozilla!

View File

@@ -1 +0,0 @@
3bNoWzzNiFc=

View File

@@ -1 +0,0 @@
zyxwvuts

View File

@@ -1 +0,0 @@
Mozilla!

View File

@@ -1 +0,0 @@
fB0bnKWvjT6X5NIkZ5l/Y/DXZ6QNI6j0iPhR/ZERkfj67xRnTWY1cg==

View File

@@ -1,6 +0,0 @@
AAAAQI3ypJRJInaqPSV1m7BoacvqwNg6+40M98u4Mk8NeILl0HYvxbchDq/C6a2s
Mqt6rElpPfv4NyTC7Ac27jHIApEAAAAUx3MhjHN+yO6ZO08t7TD0jtrOkV8AAABA
Ym0CeDnqChNBMWOlW0y1ACmdVSKVbO/LO/8Q85nOLC5xy53l+iS6v1jlt5Uhklyc
xC6fb0ZLCIzFcq9T5teIAgAAAEAZExhx11sWEqgZ8p140bDXNG96p3u2KoWb/WxW
ddqdIS06Nu8Wcu9mC4x8JVzA7HSFj7oz9EwGaZYwp2sDDuMzAAAAFCBwsyI9ujcv
3hwP/HsuO0mLJgYU

View File

@@ -1 +0,0 @@
AAAAAAAAAAAAAAAAAAAAAAAAAAA=

View File

@@ -1 +0,0 @@
qZk+NkcGgWq6PiVxeFDCbJzQ2J0=

View File

@@ -1,4 +0,0 @@
AAAAQI3ypJRJInaqPSV1m7BoacvqwNg6+40M98u4Mk8NeILl0HYvxbchDq/C6a2s
Mqt6rElpPfv4NyTC7Ac27jHIApEAAAAUx3MhjHN+yO6ZO08t7TD0jtrOkV8AAABA
Ym0CeDnqChNBMWOlW0y1ACmdVSKVbO/LO/8Q85nOLC5xy53l+iS6v1jlt5Uhklyc
xC6fb0ZLCIzFcq9T5teIAg==

View File

@@ -1 +0,0 @@
aHpm2QZI+ZOGfhIfTd+d2wEgVYQ=

View File

@@ -1,22 +0,0 @@
0 secp160k1
1 secp160r1
2 secp160r2
3 nistk163
4 sect163r1
5 nistb163
6 secp192k1
7 nistp192
8 secp224k1
9 nistp224
10 nistk233
11 nistb233
12 nistp256
13 nistk283
14 nistb283
15 nistp384
16 nistk409
17 nistb409
18 nistk571
19 nistb571
# the following tests are not yet implemented
#20 nistp521

View File

@@ -1 +0,0 @@
GoWqve3YezF7HOABQjioFL/3oq32oM9pHsGTQTJE7aFE62nItVqAdg==

View File

@@ -1 +0,0 @@
PM6xHbiwP6Xcb44mg7BHtaJvd8PkxgvHAB1sh2cF0so3naFf0Tj6vQ==

View File

@@ -1,2 +0,0 @@
AF3bbyED08NTrUgKmag9HiuUbaW0skXA/Bp9RPjRAD6M0rp3nvLDKozI940jxPP1
nWpHF7VcyCVzJeV6

View File

@@ -1,2 +0,0 @@
AOLrxy4FWd29ToUjOwLs6GyQ+dYZN6NkZ8oVO6dsAEXt55ePlCWZbOtmk6v9PrNG
JOsY/MHnGhDeAGRl

View File

@@ -1,2 +0,0 @@
aQHMte9cFByD9Ff3rZOPOtPI75luPoxemmgjXIgh/9jEeoTdDk8xuAYQUkayCfs+
DpDaGnOLkfAyZ8GcuaCujg==

View File

@@ -1,2 +0,0 @@
AaeVCRJQPbpTqa1+zLd/8xAbkz3KKTr0dlS4tuGC8hc9j5esAeEv+7IklbA3v5Jz
jC+nJy4p81iNO5E9H8nfGGckfQSiFzHG

View File

@@ -1,2 +0,0 @@
AgU0N7zJPg/1UxmCWD5Z+DqDqkRKjy4heFgayCyopb/u4XErAZArgsjashAxzMKC
PSDJasPT90T5Va8sNtjXtSpHWxc2roV9

View File

@@ -1,2 +0,0 @@
NXo8is+7lAoOwWGt7+GBbT/UX8LGs8TXEHBI+tX9311pJ4J3pfBYobgN0ZK6ZBtp
dS6PkrPaQp0S9nrfTOS5uAH95eD1eymRfCbOnjTUKzLuIn53V17vRjdcDtLzrhzX

View File

@@ -1,3 +0,0 @@
ADhxjBz/ACTy4GJlL0tYZpyNpC4DsXND9lJuU7x9N7g6gkpJyBPw3vBYU1olw6PH
dnegpgAm4Gh6MCsZB4KBcLwl1wjt4B3p2eqEqDYn5fiie5f4XuRomvI92jR5Sb+I
nBLCHIppt/Q=

View File

@@ -1,3 +0,0 @@
AGhHQ6kfdZRgu1svQTXEIewvFVglnUy6ANPumyUbM14AEfRkCUNa1uzvhV1sbWYj
qT3egQCA9MTjThDNJeDOvvL6hVVOryUv4+C3RtkpQGCtdml+CSsjVTej8h9JbMds
Dme40b2G6fE=

View File

@@ -1,3 +0,0 @@
AGBuqk48tufy0bKEWpu+xEHsmi+6KCfdwOSRwLDnpVetGe9AWknHDzeTSwe0QxcE
RsEkUZGDpxfzUlCLSSSU+ErrYY/uyLV2AJTb3prB6A2YNwdmFGeRbDoxeOu7FuQA
3gxBQhR+TGMuskeM+BdHFmFrwvTTdHCGzjTBa5S8mbgEJTfeik/it28T/9i+duZ8

View File

@@ -1,3 +0,0 @@
AaiotJfCiWU1d2LFe+t0CcWHDSF7EOlApWYJ+RNRSq8TbkXJIzi6abbb7BovtRwf
i/COYwjS7OnkFQ6x5Pdrb7OZ0dTAdDRXAKtXWSKR20Y4fhnx/HUxisFwKrsCEQ3O
uVtwDG8rh5V8zjBnCEcs5Iy9CsklucibR0PIyglVmW+ZuY42YNebuOC2VUKqHNF7

View File

@@ -1 +0,0 @@
Vli8Hau3xL8oder6ZdM9Y3fMd92jbguiMq6F+9CUjlUQXy5EwAVGeg==

View File

@@ -1,3 +0,0 @@
ALAM5hGnex7TvBbSEzDlfv+n5g7aWyRyZsBbl2Y6wW1plSovbq2GcV6w1ZV1Vlot
70zbqkKyNApvTi3xoD4Ens6pAeLMYDILwaQhnyJZWQv3etbWqUKJZNgfH1IDj03k
n9hbjYLX3y4bc4CnrhOiv5Ab34s7M8wUYcjC+DbHwhLl/S6N

View File

@@ -1 +0,0 @@
AFohw5TN/dpmqbhp/T4z1Rl1boAUA6r9eEPJbYN0zf+eHZzyvezxqjxU

View File

@@ -1 +0,0 @@
AtJdCPXn5yQW34jekhsnsNmaMOeeA3KIVl1d2+7pb6QycUAzYccgwSrp

View File

@@ -1 +0,0 @@
AzEg0sOGHwxd0o3cv+o9dsRPOzXMAdpgtI6O0uUmVN2+a5qI5FYQlItz

View File

@@ -1 +0,0 @@
5+HDXH/ieN8Bzxd3dfxKZoqbbhsm7jyeqWdemt6Xy0kx+7zwSYsh9Ng5KRdy6wtA

View File

@@ -1 +0,0 @@
WcS9umnUASP0X6lHvkWJwPY37ZVvAMLBERHLjL3Vzg6QVjwcS8kDVortTFei3aTx

View File

@@ -1,2 +0,0 @@
ItpmPaGAaoe2feXPbh5+EASLGnEzyYbEnwJ+JFNSOQcoY4a/cMV2rn8FYyBsEDiZ
LPDBU0i2uOg=

View File

@@ -1,2 +0,0 @@
QjzCVGRUjulOLqeBqC5xpY0GWomOrmQUCtImY0czn98a/jHrdgsSRKiMHukBUxM1
TIRGjkV2L+A=

View File

@@ -1,2 +0,0 @@
AAAABwYFK4EEAAkAAAApBPiF0ntSFtn41JULxlA1l/lHE/zUPGJWkCqtdOryS6yD
WFCoF/IHwHsAAAAUcw+b2b1AJUlmezgu5EjmAGPC0YQ=

View File

@@ -1,2 +0,0 @@
AAAABwYFK4EEAAgAAAApBI80VWK9xatmkFRiDTcdeFQ0T9h3h6iVOinMURyWZw0T
5vZqd8/gvwwAAAAUYOQMjDdtNSL5zY0nVWPWY+UJoqQ=

View File

@@ -1,3 +0,0 @@
AAAABwYFK4EEABoAAAA9BACmzalMQJBOWV2FoyV0tXSpT07Xajq4bB1SUwSY7QGn
dgGC3GBqjPs9vEpqfMMQ2M9k3+5oubWnexNFhQAAAB4BRha/6sE7VSHl92ZqCj5p
LYtBpK23jzfdVWO8SAY=

View File

@@ -1,3 +0,0 @@
AAAABwYFK4EEABsAAAA9BAD2/x9HSYYVEQ9AU4MivlIKPypJjsm0sTrp8BftlQGv
KaYrKpZCg/CEw3C2kqvke7HAu+10hafK9asRxQAAAB4AXyFCurtsXhahkyJpkb5J
LUg3xVL00vviR0KyFZY=

View File

@@ -1,3 +0,0 @@
AAAACgYIKoZIzj0DAQcAAABBBNGB7n4kH15tKA/SMpetaQVqg6WxIuuUuMQT2tDX
NN5jKZfaxD47NsTjTr3x3D5t1qRBYuL6VtdgIuxBIHGG9dcAAAAgaGjyZBL+LN3a
7NkGiHJBfqh7XKNH0AnPF3vFWpostIQ=

View File

@@ -1,3 +0,0 @@
AAAABwYFK4EEABAAAABJBAT3klWkt7+1Pr6QGEcvEIZplopwt1alrsJUThDOxvUF
7KvBpQLVjB+DQTwYQnEREb/WFyRgUBuIbII0+zd/g0fLHE4PQ8SNlAAAACQFPsMX
mqSVRreUVasUOIZQFB2jnpwCUyoq+xa9SRril5LeOCY=

View File

@@ -1,3 +0,0 @@
AAAABwYFK4EEABEAAABJBAf/ei/XCrFrMZLBp5BFkKZ3Odn+ZJu7QIAK32Ubuxmi
xgWTewf2vv+KY5kHwsBYuBXmmnKe9Ak9zGP4Lykvgk5n5J6iUz5ycQAAACQAQHXa
d29OqGxoDNCl9xETW3tAL/2hfZzstNuOPLm5kj4j1Dc=

View File

@@ -1,4 +0,0 @@
AAAABwYFK4EEACIAAABhBLWMJG3t4khPYcsl3H492rAqukJ1RqJm27pqpN54rFGG
r2VDwOfqb9tMninq8IyOh42eaaVOEPXXu4Q/ATWBEfrbTRBjTpzAE2SSPuQma0lM
q0RSVECCgdBOKIhB0H6VxAAAADA3WPjUaMWCS9E5KbVDrEcf5CV5tCNNWJQkwjsA
yALMCiXJqRVXwbq42WMuaELMW+g=

View File

@@ -1,4 +0,0 @@
AAAABwYFK4EEACQAAABpBADkgknFgTPuirxQxFlqIK+vcARWzlpJR+qmyRyQsBiz
Nh6Ws036xUKY9M8LxMIWXFNM6aIA2wxKsBF+HHD6oy27EAJSJOGbke/9F9Kv5AiW
2RXA4mllUaxCNsuQ36PqUdqv4FeXxWTpAAAANAHTZloqhR0V4bfyaeo2hojcvY3T
NO04ewNryBpsHZ0bhID0EfewYuwQmX00GYNfuV3mJ2w=

View File

@@ -1,4 +0,0 @@
AAAABwYFK4EEACUAAABpBAAEE/bAmqCjO3FLvN93Q/UjDyDp2sj+F//buuf1hZ0K
1rSOGXMLcBrqVa8R6UJ57F9/Yc0BCTylpJMXjfCr4eDczG4WOQk+5x8kpKQs5Q9U
V3IolHDiQY/Nhn7o4UFn5/mF71T3qUqwAAAANAH/o7jEl9Bw+Arj9uQ7ZHkoPGgx
t92UJg1r/lxa7UUd66iJfRI8n8yQH/sw56D1+CweeII=

View File

@@ -1,5 +0,0 @@
AAAABwYFK4EEACYAAACRBAffZTrfwIl0dciO2fui3UhZw6r+jnFh7gyER92gXL7+
LzPgTHagd1vdQiIX4K8Dv76KN0BldiFuX5odP7qC26MUaiURDdWT0AWcPmumSSBH
NXZYLLx5hQjW3BTNwV7v5bmUjezfgtuOCC30dQGs2GMgExAmiWRjTkiPrHg1SFKF
3RklauOyMWauaVpEzh3c+wAAAEgAZvLs4/Rx7tS+QGH92fGGIxPWPbVYOpDKwabY
poV2i1BD5Fxvw+eHlvxVOLmRPqRCPTfOLwAeNbHyt17U/BVZ8+svTChlzuA=

View File

@@ -1,5 +0,0 @@
AAAABwYFK4EEACcAAACRBASpPvOfQVqiMD+cBL/nulFit5pk/5beJ6/KpeIltg4s
6/s7PPggJA59BP7RJwak6rgY3PsRqXVPjyM/1UkUfRUR2BJgOfNTkQe9WF7Y5zXy
TM76cWhOP+sLSoUcscy/HTLCpHqRLLvWZPDzgjrfJqSlydMEDZjWsJRVPk9IfeQ/
amGiWOhJIQd/bSrAazZn6AAAAEgFz1qZzjHuhuP1boJ7gzndJhQslx1efbESxHSc
wbOpeBpw2MsCAwjtgo3Y8pviFIC8+5MStkFjE8uHQ0ngXc02wm3G0xj8XGQ=

View File

@@ -1,2 +0,0 @@
AAAABwYFK4EEAB4AAAApBGouC+vgvmItzsLO4hXn+AXi3skEE+M19o/QHLfjibbA
p7av8F4tcGgAAAAUmpQDUgnIkiXPBs0moD4jEmJHato=

View File

@@ -1,5 +0,0 @@
AAAABwYFK4EEACMAAACFBAHLMSpMFVyG6mXE7SZ5O5Bwv4d8/QiAB3BzpXkyrU1W
jJ9O9uOYTXM+cFtF5v56+LsI4yGkaAl9+RF6lFPjrhpIswCmBmEqMBgZpjoz38my
nLHBI9MaFF8AHkRQwD3LJLo4eSZHOVkdIvDYLwicdlgr0zD3Nf76/HB1+0DkBGqE
MyG22gAAAEIAFah7z179UbqqdH68pzdZsP1ChXjtYZ11rBM0+HP7yLirxH3ahKTt
DjsY19GEjz4gKsaLfLiQ1/Dp+VKVLcBKpk0=

View File

@@ -1,2 +0,0 @@
AAAABwYFK4EEAAEAAAArBAe4qW9DTVGRVIYYznwJZbn8mWXLugA2A+Mv112Bu+y7
gxI8E4/fEdLTsQAAABUGEQDNcbxi0JhwALA8FCCxvmWYM3E=

Some files were not shown because too many files have changed in this diff Show More