commit | 857edec1a25fb112938ff1b012dbe78844db0320 | [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 | 0071724735e6f69f4aaa824d4deb82060d88fdc0 | |
parent | 18fc21daf5cad44d8dcae677cc1802a9fd166eeb [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; }