diff options
author | lloyd <[email protected]> | 2008-11-11 00:00:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-11 00:00:10 +0000 |
commit | 894a225d14043cbd0cbd42c677ab4063b461fa24 (patch) | |
tree | d86973c4bc9bcddf4ac1970728479bf04e8f6522 /src/libstate/get_enc.cpp | |
parent | e6abb0fd8289619d559ff430dff84f0de4f82808 (diff) |
Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp
Diffstat (limited to 'src/libstate/get_enc.cpp')
-rw-r--r-- | src/libstate/get_enc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstate/get_enc.cpp b/src/libstate/get_enc.cpp index ea02dd092..143cec21c 100644 --- a/src/libstate/get_enc.cpp +++ b/src/libstate/get_enc.cpp @@ -190,6 +190,9 @@ KDF* get_kdf(const std::string& algo_spec) { SCAN_Name request(algo_spec); + if(request.algo_name() == "Raw") + return 0; // No KDF + #if defined(BOTAN_HAS_KDF1) if(request.algo_name() == "KDF1" && request.arg_count() == 1) return new KDF1(get_hash(request.arg(0))); |