diff options
author | lloyd <[email protected]> | 2008-11-12 19:31:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-12 19:31:33 +0000 |
commit | 5f0aec7df70287f33001db4b59f63ad0904206bb (patch) | |
tree | 7075247b0e8e82ab30cd9a01b38b6f7701c96c24 /src/algo_factory/algo_factory.cpp | |
parent | 48b1f0d6b7d26eaa9feff0f61617a103e62a2265 (diff) |
Revert 2707eb68cb91e0633815a6d6c68d22b9f41227a4 - I had forgotten that
Engine_Iterator (and thus the public key engine code) still processes
in order of first engine to last in the list.
Benchmarking confirmed that GNU MP is still faster than both OpenSSL
and Botan for public key operations (at least on my machine).
Diffstat (limited to 'src/algo_factory/algo_factory.cpp')
-rw-r--r-- | src/algo_factory/algo_factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp index 5b300b7c6..8cd7d70ff 100644 --- a/src/algo_factory/algo_factory.cpp +++ b/src/algo_factory/algo_factory.cpp @@ -42,7 +42,7 @@ Algorithm_Factory::~Algorithm_Factory() */ void Algorithm_Factory::add_engine(Engine* engine) { - engines.push_back(engine); + engines.insert(engines.begin(), engine); } /** |