diff options
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 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; |