Fix an use of key-manager deprecated API 86/84386/2
authorSungbae Yoo <sungbae.yoo@samsung.com>
Thu, 18 Aug 2016 09:33:00 +0000 (18:33 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Thu, 18 Aug 2016 09:36:58 +0000 (02:36 -0700)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I0904f03232117b9fd9bebe3134752328f0e7fc77

volume/key-manager.cpp

index d143c3143d64975bbf920dd203ec383ff35fe3a9..b45c563823a5512065fcf5c7024f732f87bc1f29 100755 (executable)
@@ -86,7 +86,7 @@ void KeyManager::removeKey(const std::string& keyName)
 {
        const std::string ckmAlias = addAliasPrefix(keyName);
 
-       if (::ckmc_remove_data(ckmAlias.c_str()) != 0) {
+       if (::ckmc_remove_alias(ckmAlias.c_str()) != 0) {
                throw runtime::Exception("Failed to remove key data");
        }
 }