diff options
Diffstat (limited to 'src/lib/pubkey/rfc6979/rfc6979.cpp')
-rw-r--r-- | src/lib/pubkey/rfc6979/rfc6979.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/pubkey/rfc6979/rfc6979.cpp b/src/lib/pubkey/rfc6979/rfc6979.cpp index a691e6e8c..1b22fae54 100644 --- a/src/lib/pubkey/rfc6979/rfc6979.cpp +++ b/src/lib/pubkey/rfc6979/rfc6979.cpp @@ -7,7 +7,6 @@ #include <botan/rfc6979.h> #include <botan/hmac_drbg.h> -#include <botan/libstate.h> #include <botan/scan_name.h> namespace Botan { @@ -19,8 +18,7 @@ std::string hash_for_deterministic_signature(const std::string& emsa) if(emsa_name.arg_count() > 0) { const std::string pos_hash = emsa_name.arg(0); - if(global_state().algorithm_factory().prototype_hash_function(pos_hash)) - return pos_hash; + return pos_hash; } return "SHA-512"; // safe default if nothing we understand |