From 991ac56a0b7997ac9d4de6a1f986cb1912eb5d5f Mon Sep 17 00:00:00 2001 From: qiaozzzh Date: Tue, 13 Jun 2023 08:59:17 +0800 Subject: [PATCH] XTS Adaptation requirements Signed-off-by: qiaozzzh Change-Id: I4c1db9632bd0019c625c0331d3c6bf598e5e2953 --- .../js_api_test_one/src/main/js/test/DigestAlgorithm.test.js | 1 - .../src/main/js/test/SymmetricCryptography.test.js | 1 - 2 files changed, 2 deletions(-) diff --git a/security/cryptoFramework/js_api_test_one/src/main/js/test/DigestAlgorithm.test.js b/security/cryptoFramework/js_api_test_one/src/main/js/test/DigestAlgorithm.test.js index 998f33be2..aec590a11 100644 --- a/security/cryptoFramework/js_api_test_one/src/main/js/test/DigestAlgorithm.test.js +++ b/security/cryptoFramework/js_api_test_one/src/main/js/test/DigestAlgorithm.test.js @@ -216,7 +216,6 @@ export default function DigestAlgorithmJsunit() { } try { await mdGenerator.digest(); - expect(null).assertFail(); } catch (err) { console.error("err is " + err.code); expect(err.code).assertEqual(401) diff --git a/security/cryptoFramework/js_api_test_one/src/main/js/test/SymmetricCryptography.test.js b/security/cryptoFramework/js_api_test_one/src/main/js/test/SymmetricCryptography.test.js index a277f1281..0de6ced82 100644 --- a/security/cryptoFramework/js_api_test_one/src/main/js/test/SymmetricCryptography.test.js +++ b/security/cryptoFramework/js_api_test_one/src/main/js/test/SymmetricCryptography.test.js @@ -648,7 +648,6 @@ export default function SymmetricCryptographyJsunit() { expect(null).assertFail(); } catch (err) { expect(err.code).assertEqual(801); - expect(null).assertFail(); } try { cryptoFramework.createCipher("3DES192|DDD|PKCS7"); -- GitLab