diff options
author | Jack Lloyd <[email protected]> | 2017-09-24 11:09:44 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-09-24 11:09:44 -0400 |
commit | ef9d827383aef0cdd3162c42b9b87b2663911705 (patch) | |
tree | f9a4c552278eaff703a97e969a053eb2d8f0025a /src/tests/test_package_transform.cpp | |
parent | 9f18cc9132cb074299994e85e7b9943283f78576 (diff) |
Test fixes
Diffstat (limited to 'src/tests/test_package_transform.cpp')
-rw-r--r-- | src/tests/test_package_transform.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/test_package_transform.cpp b/src/tests/test_package_transform.cpp index 9fb63c7d8..f09251e1d 100644 --- a/src/tests/test_package_transform.cpp +++ b/src/tests/test_package_transform.cpp @@ -25,6 +25,9 @@ class Package_Transform_Tests final : public Test std::unique_ptr<Botan::BlockCipher> cipher(Botan::BlockCipher::create("AES-128")); + if(!cipher) + return {result}; + for(size_t input_len = 2; input_len != 256; ++input_len) { std::vector<uint8_t> input = unlock(Test::rng().random_vec(input_len)); |