From 1eb5fdde9a389bfaaa56af6e5b3b2847bac83ed7 Mon Sep 17 00:00:00 2001 From: Pawel Kowalski Date: Fri, 11 May 2018 14:10:07 +0200 Subject: [PATCH] [Securerepository][NON-ACR][Change of the expected exception type] After the improvements in the openssl error handling in the key-manager module, error codes are now more precise. Currently, in case of wrong ciphertext, CKM_API_ERROR_INPUT_PARAM is returned, which is translated to ArgumentException in the csapi. Change-Id: I293045176c6c798aa11b9e6aa9b85d42a5a7a463 --- tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCipher.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCipher.cs b/tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCipher.cs index a5bc1cfb7..ca07b9141 100755 --- a/tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCipher.cs +++ b/tct-suite-vs/Tizen.Securerepository.Tests/testcase/TSCipher.cs @@ -533,7 +533,7 @@ namespace Tizen.Security.SecureRepository.Tests KeyManager.CreateAesKey(256, aesKeyAlias, new Policy(password, false)); /* TEST CODE */ - Assert.Throws(delegate { + Assert.Throws(delegate { cipher.Decrypt(aesKeyAlias, password, Util.GenerateRandom(1024)); }); -- 2.34.1