summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmds/keystore/keystore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/keystore/keystore.c b/cmds/keystore/keystore.c
index 60cc521b04ca..971a177ed3a0 100644
--- a/cmds/keystore/keystore.c
+++ b/cmds/keystore/keystore.c
@@ -166,7 +166,7 @@ static int8_t encrypt_blob(char *name, AES_KEY *aes_key)
int length;
int fd;
- if (read(the_entropy, vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
+ if (read(the_entropy, blob.vector, AES_BLOCK_SIZE) != AES_BLOCK_SIZE) {
return SYSTEM_ERROR;
}