aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-03 15:09:39 -0400
committerJack Lloyd <[email protected]>2016-11-03 15:09:39 -0400
commite5a68679b9f41395edfea9d35f4620ac56a32328 (patch)
tree429aa95e2b7c8ddd8a66d4cb117ead6bd8a8fef9 /src
parent750c58d837be8bc6477b88957d09baff1ba369ae (diff)
Fix bogus code
Not caught by anything because nothing includes lookup.h except for the amalgamation build which sucks up everything.
Diffstat (limited to 'src')
-rw-r--r--src/lib/base/lookup.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/base/lookup.h b/src/lib/base/lookup.h
index 5237ec77a..c699e5980 100644
--- a/src/lib/base/lookup.h
+++ b/src/lib/base/lookup.h
@@ -75,7 +75,7 @@ BOTAN_DEPRECATED("Use StreamCipher::create_or_throw")
inline std::unique_ptr<StreamCipher> make_stream_cipher(const std::string& algo_spec,
const std::string& provider = "")
{
- return StreamCipher::create_or_throw(algo_spec, provider));
+ return StreamCipher::create_or_throw(algo_spec, provider);
}
BOTAN_DEPRECATED("Use StreamCipher::providers")
@@ -102,7 +102,7 @@ BOTAN_DEPRECATED("Use HashFunction::create_or_throw")
inline std::unique_ptr<HashFunction> make_hash_function(const std::string& algo_spec,
const std::string& provider = "")
{
- return HashFunction::create_or_throw(algo_spec, provider));
+ return HashFunction::create_or_throw(algo_spec, provider);
}
BOTAN_DEPRECATED("Use HashFunction::create")