diff options
Diffstat (limited to 'src/tests/test_keywrap.cpp')
-rw-r--r-- | src/tests/test_keywrap.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/tests/test_keywrap.cpp b/src/tests/test_keywrap.cpp index 4a133412a..c07d023d7 100644 --- a/src/tests/test_keywrap.cpp +++ b/src/tests/test_keywrap.cpp @@ -32,9 +32,7 @@ size_t keywrap_test(const char* key_str, SymmetricKey expected(expected_str); SymmetricKey kek(kek_str); - Algorithm_Factory& af = global_state().algorithm_factory(); - - secure_vector<byte> enc = rfc3394_keywrap(key.bits_of(), kek, af); + secure_vector<byte> enc = rfc3394_keywrap(key.bits_of(), kek); if(enc != expected.bits_of()) { @@ -43,7 +41,7 @@ size_t keywrap_test(const char* key_str, fail++; } - secure_vector<byte> dec = rfc3394_keyunwrap(expected.bits_of(), kek, af); + secure_vector<byte> dec = rfc3394_keyunwrap(expected.bits_of(), kek); if(dec != key.bits_of()) { |