aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2017-07-13 23:26:04 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2017-07-20 09:03:53 -0700
commit2991c91d88f3d17ac6b38bddfa6f1b6b8d835c0f (patch)
tree38783e7e46a9fbf4b038236f2cde834afe1a6fdb /src/init.cpp
parent4d50f38fe05374342b4b55953d188fd50d422663 (diff)
Add SHA256 dispatcher
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 1e85642019..b16653624c 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1161,6 +1161,8 @@ bool AppInitSanityChecks()
// ********************************************************* Step 4: sanity checks
// Initialize elliptic curve code
+ std::string sha256_algo = SHA256AutoDetect();
+ LogPrintf("Using the '%s' SHA256 implementation\n", sha256_algo);
RandomInit();
ECC_Start();
globalVerifyHandle.reset(new ECCVerifyHandle());