www/adium.im 773:f39669639ffd: We really should DSA-sign the del...

commits at adium.im commits at adium.im
Fri Jun 14 11:58:15 UTC 2013


details:	http://hg.adium.im/www/adium.im/rev/f39669639ffd
revision:	773:f39669639ffd
branch:		adiumx.com
author:		Thijs Alkemade <me at thijsalkema.de>
date:		Fri Jun 14 13:58:02 2013 +0200

We really should DSA-sign the deltas too.

diffs (19 lines):

diff -r db584d4ad323 -r f39669639ffd sparkle/appcast-nightly.php
--- a/sparkle/appcast-nightly.php	Fri Jun 14 13:18:48 2013 +0200
+++ b/sparkle/appcast-nightly.php	Fri Jun 14 13:58:02 2013 +0200
@@ -67,6 +67,7 @@
     define("dVERSION", 1);
     define("dSIZE", 1);
     define("dFILENAME", 2);
+    define("dDSA", 3);
     
     // Update from the remote file if it's out of date or nonexistant.
     if ((!is_file(NIGHTLY_CACHE) || (($stat = stat(NIGHTLY_CACHE)) && ($stat[10]+UPDATE_INTERVAL <= time())))) {
@@ -127,6 +128,7 @@
                 <enclosure url="<?=$deltaURL?>"
                       sparkle:version="<?=$deltaData[dVERSION]?>"
                       sparkle:deltaFrom="<?=$delta[dREVISION]?>"
+                      sparkle:dsaSignature="<?=$delta[dDSA]?>"
                       length="<?=$delta[dSIZE]?>"
                       type="application/octet-stream" />
 <?php




More information about the commits mailing list