From 40c642fc6bc7b3feab657000d2df05db96480d13 Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 21 Nov 2008 18:21:56 +0000 Subject: Update examples for changed 1.8 APIs, including: EAX mode taking a BlockCipher* instead of a name. PK_Signer taking an EMSA* instead of a name. generate_dsa_primes using an Algorithm_Factory Changes to how new algorithms are added (look_add.h is gone entirely, replaced by Algorithm_Factory calls) in xor_ciph. Also update for new stream cipher key schedule function name and new directory for base class decl. --- doc/examples/hash_quickly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/examples/hash_quickly.cpp') diff --git a/doc/examples/hash_quickly.cpp b/doc/examples/hash_quickly.cpp index d8d991d9e..e719a7178 100644 --- a/doc/examples/hash_quickly.cpp +++ b/doc/examples/hash_quickly.cpp @@ -63,7 +63,7 @@ int main(int argc, char* argv[]) const std::string hash = "SHA-1"; - //set_fastest_implementation(hash, rng); + set_fastest_implementation(hash, rng); // Here we intentionally use the 'old style' lookup interface // which will also respect the provider settings. Or can use: -- cgit v1.2.3