Skip to content

Commit

Permalink
[review] xtest: add pkcs11_1031 for CKM_RSA_X_509 sign/verify
Browse files Browse the repository at this point in the history
Fix missing sub-case end call in test_rsa_raw_operations().

Signed-off-by: Etienne Carriere <[email protected]>
  • Loading branch information
etienne-lms committed Nov 22, 2024
1 parent 2e64e78 commit 3c0d561
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions host/xtest/pkcs11_1000.c
Original file line number Diff line number Diff line change
Expand Up @@ -10343,6 +10343,8 @@ static int test_rsa_raw_operations(ADBG_Case_t *c,

Do_ADBG_EndSubCase(c, "Destroy key pair");

Do_ADBG_EndSubCase(c, "Test CKM_RSA_X_509 %u - Sign/Verify", rsa_bits);

return 1;

err_destr_obj:
Expand All @@ -10351,6 +10353,7 @@ static int test_rsa_raw_operations(ADBG_Case_t *c,
ADBG_EXPECT_CK_OK(c, C_DestroyObject(session, public_key));
err:
Do_ADBG_EndSubCase(c, NULL);
Do_ADBG_EndSubCase(c, "Test CKM_RSA_X_509 %u - Sign/Verify", rsa_bits);

return 0;
}
Expand Down

0 comments on commit 3c0d561

Please sign in to comment.