Change-Id: I1400f534195a3688451e0eff667840d911d41e90
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
std::string wrappedKey = KeyGenerator::wrapKey(pass, salt, ECRYPTFS_MAX_KEY_SIZE);
KeyManager::addKey(keyName, wrappedKey);
- } catch (runtime::Exception& e) {
+ } catch (std::exception& e) {
ERROR(e.what());
return -1;
}
std::string key;
try {
key = KeyManager::getKey(keyName);
- } catch (runtime::Exception& e) {
+ } catch (std::exception& e) {
ERROR(e.what());
return -1;
}