commit | 463d75b842dac392ea246df6d710f850f75bd6a6 | [log] [tgz] |
---|---|---|
author | Chia-chi Yeh <chiachi@android.com> | Thu Sep 30 17:28:01 2010 +0800 |
committer | Chia-chi Yeh <chiachi@android.com> | Thu Sep 30 17:28:01 2010 +0800 |
tree | b71c241dd7650fc06e931a93619f9a4e77e58300 | |
parent | 2cbb56f961e4893a3bf7ded560d4bdbf45eabd01 [diff] |
KeyStore: Initialize IV correctly. Change-Id: Idbf207dfcc11b92e606cbf4fd3732ed7a8aa3416
diff --git a/cmds/keystore/keystore.c b/cmds/keystore/keystore.c index 60cc521..971a177 100644 --- a/cmds/keystore/keystore.c +++ b/cmds/keystore/keystore.c
@@ -166,7 +166,7 @@ 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; }