diff options
author | Jack Lloyd <[email protected]> | 2016-11-03 15:09:39 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-11-03 15:09:39 -0400 |
commit | e5a68679b9f41395edfea9d35f4620ac56a32328 (patch) | |
tree | 429aa95e2b7c8ddd8a66d4cb117ead6bd8a8fef9 | |
parent | 750c58d837be8bc6477b88957d09baff1ba369ae (diff) |
Fix bogus code
Not caught by anything because nothing includes lookup.h except
for the amalgamation build which sucks up everything.
-rw-r--r-- | src/lib/base/lookup.h | 4 |
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") |