diff --git a/security/security_huks_reformed_test/huks_signverify_promise_BasicTest/src/main/js/test/SignVerify/SecurityHuksRSASignExtendJsunit.test.js b/security/security_huks_reformed_test/huks_signverify_promise_BasicTest/src/main/js/test/SignVerify/SecurityHuksRSASignExtendJsunit.test.js index 2332749eecdbac75b6bf87316e625e95868864f0..287ddce6d760d48eda425b152891b8971e4f1b48 100644 --- a/security/security_huks_reformed_test/huks_signverify_promise_BasicTest/src/main/js/test/SignVerify/SecurityHuksRSASignExtendJsunit.test.js +++ b/security/security_huks_reformed_test/huks_signverify_promise_BasicTest/src/main/js/test/SignVerify/SecurityHuksRSASignExtendJsunit.test.js @@ -235,7 +235,7 @@ export default function SecurityHuksRSASignExtendJsunit() { } await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify); HuksOptionsVerify.inData = srcData64Kb; - publicUpdateSessionFunction(HuksOptionsVerify); + await publicUpdateSessionFunction(HuksOptionsVerify); HuksOptionsVerify.inData = signedResult; await publicFinishSessionFunc(HuksOptionsVerify); await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen); @@ -289,7 +289,7 @@ export default function SecurityHuksRSASignExtendJsunit() { } await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify); HuksOptionsVerify.inData = srcData64Kb; - publicUpdateSessionFunction(HuksOptionsVerify); + await publicUpdateSessionFunction(HuksOptionsVerify); HuksOptionsVerify.inData = signedResult; await publicFinishSessionFunc(HuksOptionsVerify); await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen); @@ -342,7 +342,7 @@ export default function SecurityHuksRSASignExtendJsunit() { } await publicInitFunc(srcKeyAliesGen, HuksOptionsVerify); HuksOptionsVerify.inData = srcData64Kb; - publicUpdateSessionFunction(HuksOptionsVerify); + await publicUpdateSessionFunction(HuksOptionsVerify); HuksOptionsVerify.inData = signedResult; await publicFinishSessionFunc(HuksOptionsVerify); await publicDeleteKeyFunc(srcKeyAliesGen, HuksOptionsGen);