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

incubator-mynewt-newt git commit: newt, create-image; was not assigning keyId when using ECDSA to sign.

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 0baf3a369 -> 10b0ce6bd


newt, create-image; was not assigning keyId when using ECDSA to sign.


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/10b0ce6b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/10b0ce6b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/10b0ce6b

Branch: refs/heads/develop
Commit: 10b0ce6bd496255289c99528297a7039b567ae62
Parents: 0baf3a3
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Sep 14 10:09:57 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Sep 14 10:09:57 2016 -0700

----------------------------------------------------------------------
 newt/image/image.go | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


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