You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by pa...@apache.org on 2016/08/26 20:17:28 UTC

incubator-mynewt-newt git commit: oops accidentally added an extra 32 bytes to the TLV list when adding split images. This was because of a potential new build_id TLV which was scrapped during the design.

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop e7bc49c38 -> 2c3cd7101


oops accidentally added an extra 32 bytes to the TLV list when
adding split images.  This was because of a potential new build_id
TLV which was scrapped during the design.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/2c3cd710
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/2c3cd710
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/2c3cd710

Branch: refs/heads/develop
Commit: 2c3cd71015346104ac1602a8ad20f5a7c4b19c6f
Parents: e7bc49c
Author: Paul Dietrich <pa...@yahoo.com>
Authored: Fri Aug 26 13:16:31 2016 -0700
Committer: Paul Dietrich <pa...@yahoo.com>
Committed: Fri Aug 26 13:16:31 2016 -0700

----------------------------------------------------------------------
 newt/image/image.go | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/2c3cd710/newt/image/image.go
----------------------------------------------------------------------
diff --git a/newt/image/image.go b/newt/image/image.go
index d5fc091..0f9cd76 100644
--- a/newt/image/image.go
+++ b/newt/image/image.go
@@ -305,9 +305,6 @@ func (image *Image) Generate(loader *Image) error {
 	} else if image.signingEC != nil {
 		hdr.TlvSz = 4 + 68
 		hdr.Flags = IMAGE_F_ECDSA224_SHA256
-	} else {
-		hdr.TlvSz = 4 + 32
-		hdr.Flags = IMAGE_F_SHA256
 	}
 
 	hdr.TlvSz += 4 + 32