Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 334578
b: refs/heads/master
c: b05e585
h: refs/heads/master
v: v3
  • Loading branch information
Linus Torvalds committed Oct 19, 2012
1 parent 23282bf commit d0a74b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 16757372ffa5ee0ef7e82f73a6adbb054a434a13
refs/heads/master: b05e585d4964cf0a70573d29113a1236ced98abf
5 changes: 3 additions & 2 deletions trunk/scripts/sign-file
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ openssl dgst $dgst -binary $mod || exit $?
# the signature with no metadata attached.
#
openssl rsautl -sign -inkey $key -keyform PEM -in $mod.dig -out $mod.sig || exit $?
siglen=`stat -c %s $mod.sig`

SIGNER="`perl $keyid_script $x509 signer-name`"
KEYID="`perl $keyid_script $x509 keyid`"
keyidlen=${#KEYID}
siglen=${#SIGNER}
keyidlen=$(echo -n "$KEYID" | wc -c)
signerlen=$(echo -n "$SIGNER" | wc -c)

#
# Build the signed binary
Expand Down

0 comments on commit d0a74b0

Please sign in to comment.