Skip to content

Commit

Permalink
chore: re-enable all encryption tests (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxwolf authored Feb 26, 2018
1 parent a18754c commit 65825b2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/check_jwe.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ static void _self_encrypt_self_decrypt_with_key(const char *alg, const char *enc

static void _self_encrypt_self_decrypt(const char *plain1)
{
/*
_self_encrypt_self_decrypt_with_key(CJOSE_HDR_ALG_RSA_OAEP, CJOSE_HDR_ENC_A256GCM, JWK_RSA, plain1);

_self_encrypt_self_decrypt_with_key(CJOSE_HDR_ALG_RSA1_5, CJOSE_HDR_ENC_A256GCM, JWK_RSA, plain1);
Expand All @@ -201,7 +200,6 @@ static void _self_encrypt_self_decrypt(const char *plain1)
_self_encrypt_self_decrypt_with_key(CJOSE_HDR_ALG_A192KW, CJOSE_HDR_ENC_A192CBC_HS384, JWK_OCT, plain1);

_self_encrypt_self_decrypt_with_key(CJOSE_HDR_ALG_A256KW, CJOSE_HDR_ENC_A256CBC_HS512, JWK_OCT, plain1);
//*/

_self_encrypt_self_decrypt_with_key(CJOSE_HDR_ALG_ECDH_ES, CJOSE_HDR_ENC_A256GCM, JWK_EC, plain1);
}
Expand Down Expand Up @@ -1138,8 +1136,6 @@ Suite *cjose_jwe_suite()

TCase *tc_jwe = tcase_create("core");
tcase_set_timeout(tc_jwe, 120.0);
tcase_add_test(tc_jwe, test_cjose_jwe_self_encrypt_self_decrypt);
/*
tcase_add_test(tc_jwe, test_cjose_jwe_node_jose_encrypt_self_decrypt);
tcase_add_test(tc_jwe, test_cjose_jwe_self_encrypt_self_decrypt);
tcase_add_test(tc_jwe, test_cjose_jwe_self_encrypt_self_decrypt_short);
Expand All @@ -1155,7 +1151,6 @@ Suite *cjose_jwe_suite()
tcase_add_test(tc_jwe, test_cjose_jwe_import_invalid_serialization);
tcase_add_test(tc_jwe, test_cjose_jwe_decrypt_bad_params);
tcase_add_test(tc_jwe, test_cjose_jwe_multiple_recipients);
//*/
suite_add_tcase(suite, tc_jwe);

return suite;
Expand Down

0 comments on commit 65825b2

Please sign in to comment.