diff options
Diffstat (limited to 'security/keys/encrypted-keys/encrypted.c')
-rw-r--r-- | security/keys/encrypted-keys/encrypted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/keys/encrypted-keys/encrypted.c b/security/keys/encrypted-keys/encrypted.c index f33804c1b4c8..dcc843cb0f80 100644 --- a/security/keys/encrypted-keys/encrypted.c +++ b/security/keys/encrypted-keys/encrypted.c | |||
@@ -293,7 +293,7 @@ static char *datablob_format(struct encrypted_key_payload *epayload, | |||
293 | /* convert the hex encoded iv, encrypted-data and HMAC to ascii */ | 293 | /* convert the hex encoded iv, encrypted-data and HMAC to ascii */ |
294 | bufp = &ascii_buf[len]; | 294 | bufp = &ascii_buf[len]; |
295 | for (i = 0; i < (asciiblob_len - len) / 2; i++) | 295 | for (i = 0; i < (asciiblob_len - len) / 2; i++) |
296 | bufp = pack_hex_byte(bufp, iv[i]); | 296 | bufp = hex_byte_pack(bufp, iv[i]); |
297 | out: | 297 | out: |
298 | return ascii_buf; | 298 | return ascii_buf; |
299 | } | 299 | } |