Fix CL split and build
(cherry picked from commit ff620c25d1af495c74cdeb4e5a652adf6858cf88)
Change-Id: I8cdf964a6ca8ad0206b263dfcab297fd894f6927
diff --git a/keystore/keystore.cpp b/keystore/keystore.cpp
index fdbea3d..34cab24 100644
--- a/keystore/keystore.cpp
+++ b/keystore/keystore.cpp
@@ -687,7 +687,7 @@
*/
if (upgrade(filename, keyBlob, version, type)) {
if ((rc = this->put(filename, keyBlob)) != NO_ERROR
- || (rc = keyBlob->readBlob(filename, &mMasterKeyDecryption)) != NO_ERROR) {
+ || (rc = keyBlob->decryptBlob(filename, &mMasterKeyDecryption)) != NO_ERROR) {
return rc;
}
}