aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-22 09:20:10 -0500
committerJack Lloyd <[email protected]>2017-12-22 09:20:10 -0500
commit61c5f407ec489e974da553179b7ce91a95007329 (patch)
treec9fa36c9aed4dee46c44399988374504b85d0d87 /src/lib/pk_pad/emsa.cpp
parentd396d780c39c5d42dec411cc7286bbae9e18562d (diff)
Avoid unused parameter warnings
Diffstat (limited to 'src/lib/pk_pad/emsa.cpp')
-rw-r--r--src/lib/pk_pad/emsa.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/pk_pad/emsa.cpp b/src/lib/pk_pad/emsa.cpp
index 9904a0e2f..126e1421d 100644
--- a/src/lib/pk_pad/emsa.cpp
+++ b/src/lib/pk_pad/emsa.cpp
@@ -35,6 +35,12 @@
namespace Botan {
+AlgorithmIdentifier EMSA::config_for_x509(const Private_Key&,
+ const std::string&) const
+ {
+ throw Not_Implemented("Encoding " + name() + " not supported for signing X509 objects");
+ }
+
EMSA* get_emsa(const std::string& algo_spec)
{
SCAN_Name req(algo_spec);