Commit Graph

28 Commits

Author SHA1 Message Date
Sylvestre Ledru
2307cdff8b Bug 1338086 - Remove useless else blocks in order to reduce complexity modules/libmar/ r=mhowell
MozReview-Commit-ID: GyAIRI7Tsei
2017-02-09 10:54:04 +01:00
Mike Hommey
58d46ecb81 Bug 1279105 - Properly shutdown NSS after NSSInitCryptoContext was called. r=rstrong 2016-06-15 12:22:42 +09:00
Nicholas Nethercote
1b81677176 Bug 1232219 (part 1) - Fix -Wunused warnings in libmar/. r=bbondy. 2015-12-16 22:24:19 -08:00
Bogdan Postelnicu
ec267a46bd Bug 1228332 - Fix a potentially uninitialized pointer read, flagged by static analysis. r=spohl 2015-12-14 07:00:00 +01:00
Nicholas Nethercote
112d083e7c Bug 1202971 (part 1) - Fix compile warnings in libmar. r=rstrong.
Also remove ALLOW_COMPILER_WARNINGS=True so they don't come back.
2015-09-15 17:39:11 -07:00
Chris Peterson
940078b6ba Bug 1171358 - Fix -Wunreachable-code-return warning in libmar/tool. r=rstrong 2015-06-04 00:00:23 -07:00
Brian R. Bondy
fe783c0bad Bug 973933 - Fix libmar warnings. r=rstrong. a=Callek 2015-04-06 12:03:19 -04:00
Brian Smith
468a4ba048 Bug 903135 - Updates to libmar needed to support B2G MAR signature verification. r=bbondy 2014-10-22 21:00:15 -04:00
Stephen Pohl
4a6aa51677 Bug 978597: Implement native MAR verification for OS X 10.6. r=smichaud 2014-04-22 20:45:59 -04:00
Brian R. Bondy
439027eefb Bug 996564 - Mar command line help is wrong and fix libmar warning. r=spohl 2014-04-15 21:12:05 -04:00
Stephen Pohl
49447fb3a1 Bug 978596: Implement native MAR verification for OS X 10.7+. r=bbondy, rstrong, smichaud 2014-04-08 10:06:56 -04:00
Daniel Holbert
5969ef6b7b Bug 929466: Cast '0' + known-small-uint32_t to type "char" in comparison within mar.c, to fix sign-compare build warning. r=bbondy 2013-10-23 08:22:32 +02:00
Dustin Mitchell
7217956c10 Bug 884931 - signmar should output the gecko version in its usage and/or --version. r=bbondy 2013-08-15 09:40:56 -04:00
Brian R. Bondy
d96d6aa2ac Bug 798415 - Import signature to MAR files implementation. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy
644afa0442 Bug 798413 - Export signature from MAR files implementation. r=bsmith 2012-10-17 09:39:44 -04:00
Brian R. Bondy
51b257b785 Bug 792452 - Base implementation for multiple signing and verifying. r=bsmith 2012-10-17 09:39:44 -04:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Matt Brubeck
a652a86ab9 Back out c209fea124e1 (bug 754198) because of Win64 build failure 2012-05-11 13:23:49 -07:00
Fabrice Desré
3a5b10b99f Bug 754198 - Warning treated as error in jemalloc.c. Build busted. [r=jlebar,bsmedberg] 2012-05-11 12:34:24 -07:00
Brian R. Bondy
f9993d5509 Bug 735969 - Revert the disable version downgrade check workaround from Bug 735784. r=rstrong 2012-04-12 19:06:19 -04:00
Nathan Froyd
c8e3762c81 Bug 739958 - fix compiler warnings in libmar; r=bbondy 2012-03-28 09:03:17 -04:00
Brian R. Bondy
a51434085e Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong 2012-03-14 22:42:42 -04:00
Brian R. Bondy
6714e6a3f2 Bug 720688 - Ability to strip MAR signatures in libmar. r=rstrong 2012-02-24 16:29:42 -05:00
Brian R. Bondy
4e9aab5fd0 Bug 708690 - libmar enhancements for product information blocks. r=rstrong 2012-02-24 16:29:41 -05:00
Brian R. Bondy
caf84f7641 Bug 699700 - Add support for signing and verifying MAR files in libmar and the mar program. r=bsmith 2012-02-24 16:29:41 -05:00
darin@meer.net
7d17b5cde3 Add support for "-C working_dir" a'la GNUmake to simplify building mar files. 2005-06-22 00:26:29 +00:00
darin@meer.net
c0774fcaa0 Landing libmar for new application update system (bug 296303) r=bsmedberg,cls,brendan 2005-06-08 17:28:20 +00:00