From e43b9575ab9cd988ec4b4c5b1d6fb7c905136a01 Mon Sep 17 00:00:00 2001 From: "so.yu" Date: Thu, 11 Apr 2013 14:59:51 +0900 Subject: [PATCH] Re-fix prevent issue #48440 Change-Id: I8ebb66785e747d7dedd5797beeb0d0e01763742c Signed-off-by: so.yu --- src/security/pkcs/FSecPkcs_PkcsUtility.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/security/pkcs/FSecPkcs_PkcsUtility.cpp b/src/security/pkcs/FSecPkcs_PkcsUtility.cpp index 4eca2f6..ff29744 100644 --- a/src/security/pkcs/FSecPkcs_PkcsUtility.cpp +++ b/src/security/pkcs/FSecPkcs_PkcsUtility.cpp @@ -1444,7 +1444,7 @@ _PkcsUtility::GenerateAlgorithmIdentifierStructureN(Tizen::Base::String algoOid, Pkcs05PbMacParameters* pPkcs05PbMacParam = dynamic_cast< Pkcs05PbMacParameters* >(pAlgoParam); SysTryCatch(NID_SEC_CRYPTO, pPkcs05PbMacParam != null, r = E_INVALID_ARG, E_INVALID_ARG, "[E_INVALID_ARG] The specified input parameter is invalid."); - std::unique_ptr< ByteBuffer > pbMacBuffer(pPkcs05PbKdf2Param->GetEncodedDataN()); + std::unique_ptr< ByteBuffer > pbMacBuffer(pPkcs05PbMacParam->GetEncodedDataN()); if (pbMacBuffer == null) { r = GetLastResult(); -- 2.7.4