aboutsummaryrefslogtreecommitdiffstats
path: root/src/selftest/selftest.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2013-03-20 02:32:24 +0000
committerlloyd <[email protected]>2013-03-20 02:32:24 +0000
commitbd2cd28b7766b6d7d61960aa5b2dfaa491b664c2 (patch)
treeed67bb056200a74b5867bec12cc7f4b01c12568e /src/selftest/selftest.cpp
parent89f9ff94bf8f8d3f0acd5c0e28a5bb40e6e57cf8 (diff)
Update callers
Diffstat (limited to 'src/selftest/selftest.cpp')
-rw-r--r--src/selftest/selftest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp
index e291a8e9d..4be4f8751 100644
--- a/src/selftest/selftest.cpp
+++ b/src/selftest/selftest.cpp
@@ -7,7 +7,7 @@
#include <botan/selftest.h>
#include <botan/filters.h>
-#include <botan/aead.h>
+#include <botan/aead_filt.h>
#include <botan/hex.h>
#include <botan/internal/core_engine.h>
#include <botan/internal/stl_util.h>
@@ -128,13 +128,13 @@ algorithm_kat_detailed(const SCAN_Name& algo_name,
#if defined(BOTAN_HAS_AEAD)
- if(AEAD_Mode* enc_aead = dynamic_cast<AEAD_Mode*>(enc))
+ if(AEAD_Filter* enc_aead = dynamic_cast<AEAD_Filter*>(enc))
{
const std::vector<byte> ad = hex_decode(search_map(vars, std::string("ad")));
enc_aead->set_associated_data(&ad[0], ad.size());
- if(AEAD_Mode* dec_aead = dynamic_cast<AEAD_Mode*>(dec))
+ if(AEAD_Filter* dec_aead = dynamic_cast<AEAD_Filter*>(dec))
dec_aead->set_associated_data(&ad[0], ad.size());
}
#endif