diff options
author | lloyd <[email protected]> | 2008-11-10 23:24:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-10 23:24:43 +0000 |
commit | e6abb0fd8289619d559ff430dff84f0de4f82808 (patch) | |
tree | 9a327b708ed6dcfb4932fd0e58417da0e51385b2 /src/libstate | |
parent | 33495befa5bdd549ff47295a45271942dc2fe081 (diff) |
Remove lookup dep from basic pubkey classes
Diffstat (limited to 'src/libstate')
-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 63da7518b..ea02dd092 100644 --- a/src/libstate/get_enc.cpp +++ b/src/libstate/get_enc.cpp @@ -161,6 +161,9 @@ EME* get_eme(const std::string& algo_spec) { SCAN_Name request(algo_spec); + if(request.algo_name() == "Raw") + return 0; // No padding + #if defined(BOTAN_HAS_EME_PKCS1v15) if(request.algo_name() == "PKCS1v15" && request.arg_count() == 0) return new EME_PKCS1v15; |