Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272222
b: refs/heads/master
c: 0247311
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Linus Torvalds committed Nov 1, 2011
1 parent 384abf8 commit 3f39a24
Show file tree
Hide file tree
Showing 3 changed files with 3 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: 50e1499f468fd74c6db95deb2e1e6bfee578ae70
refs/heads/master: 02473119bc54b0b239c2501064c7a37314347f87
2 changes: 1 addition & 1 deletion trunk/security/keys/encrypted-keys/encrypted.c
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ static char *datablob_format(struct encrypted_key_payload *epayload,
/* convert the hex encoded iv, encrypted-data and HMAC to ascii */
bufp = &ascii_buf[len];
for (i = 0; i < (asciiblob_len - len) / 2; i++)
bufp = pack_hex_byte(bufp, iv[i]);
bufp = hex_byte_pack(bufp, iv[i]);
out:
return ascii_buf;
}
Expand Down
2 changes: 1 addition & 1 deletion trunk/security/keys/trusted.c
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ static long trusted_read(const struct key *key, char __user *buffer,

bufp = ascii_buf;
for (i = 0; i < p->blob_len; i++)
bufp = pack_hex_byte(bufp, p->blob[i]);
bufp = hex_byte_pack(bufp, p->blob[i]);
if ((copy_to_user(buffer, ascii_buf, 2 * p->blob_len)) != 0) {
kfree(ascii_buf);
return -EFAULT;
Expand Down

0 comments on commit 3f39a24

Please sign in to comment.