aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/lookup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstate/lookup.cpp')
-rw-r--r--src/libstate/lookup.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libstate/lookup.cpp b/src/libstate/lookup.cpp
index 5c5f038ee..24a46e3e9 100644
--- a/src/libstate/lookup.cpp
+++ b/src/libstate/lookup.cpp
@@ -108,18 +108,4 @@ Keyed_Filter* get_cipher(const std::string& algo_spec,
key, InitializationVector(), direction);
}
-AEAD_Filter* get_aead(const std::string& algo_spec,
- Cipher_Dir direction)
- {
- std::unique_ptr<Keyed_Filter> c(get_cipher(algo_spec, direction));
-
- if(AEAD_Filter* aead = dynamic_cast<AEAD_Filter*>(c.get()))
- {
- c.release();
- return aead;
- }
-
- return nullptr;
- }
-
}