diff options
author | Sven Gothel <[email protected]> | 2022-06-03 08:27:44 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2022-06-03 08:27:44 +0200 |
commit | 44b63a6dc316bb0f4873360e6fce1e82509a005c (patch) | |
tree | 356dec9b711c3765059119c7c83f1117d155e134 /test/cipherpack | |
parent | ea85fab1cd2b6d1cf813515d3dc8fb842a174a89 (diff) |
Test01Cipherpack.java: Add more tests from native unit tests (http and error cases), todo: feeding tests
Diffstat (limited to 'test/cipherpack')
-rw-r--r-- | test/cipherpack/test_01_cipherpack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cipherpack/test_01_cipherpack.cpp b/test/cipherpack/test_01_cipherpack.cpp index 0b43a7c..4466506 100644 --- a/test/cipherpack/test_01_cipherpack.cpp +++ b/test/cipherpack/test_01_cipherpack.cpp @@ -194,9 +194,9 @@ class Test01Cipherpack : public TestData { jau::PLAIN_PRINT(true, "test02_enc_dec_file_error: %s\n", ph1.toString(true, true).c_str()); REQUIRE( ph1.isValid() == true ); - const std::vector<std::string> sign_pub_keys { sign_pub_key1_fname, sign_pub_key2_fname, sign_pub_key3_fname }; { // Error: Not encrypted for terminal key 4 + const std::vector<std::string> sign_pub_keys { sign_pub_key1_fname, sign_pub_key2_fname, sign_pub_key3_fname }; jau::io::ByteInStream_File enc_stream(fname_payload_encrypted_lst[file_idx], true /* use_binary */); cipherpack::PackHeader ph2 = cipherpack::checkSignThenDecrypt(sign_pub_keys, dec_sec_key4_fname, dec_sec_key_passphrase, enc_stream, |