From c85a3f72a5c1fd33941e071847ed3ec307524a86 Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sun, 6 Apr 2014 14:53:47 +0200 Subject: [PATCH] hash: correctly accept HAVE_CRYPTOPP --- src/hash.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hash.cpp b/src/hash.cpp index 9575025..fcb6451 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -35,10 +35,12 @@ hash_proc::suite_t& hash_proc::suite() if (s.empty() ) { do_hash ("CUBE512", cube512proc); +#if HAVE_CRYPTOPP==1 do_hash ("RIPEMD128", rmd128proc); do_hash ("TIGER192", tiger192proc); do_hash ("SHA256", sha256proc); do_hash ("SHA512", sha512proc); +#endif } return s;