From 85e2137d0e32e3d13a93a01033a428ac2c26b2c0 Mon Sep 17 00:00:00 2001 From: r4sas Date: Sat, 18 Feb 2017 09:14:23 +0300 Subject: [PATCH] disable incorrect check --- Crypto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Crypto.cpp b/Crypto.cpp index 6b260ac1..7cffdb6c 100644 --- a/Crypto.cpp +++ b/Crypto.cpp @@ -811,7 +811,7 @@ namespace crypto uint8_t * GOSTR3411 (const uint8_t * buf, size_t len, uint8_t * digest) { - if (!g_Gost3411) return false; + //if (!g_Gost3411) return false; /* Converting bool to uint_8 ??? */ auto ctx = EVP_MD_CTX_new (); EVP_DigestInit_ex (ctx, g_Gost3411, GetGostEngine ()); EVP_DigestUpdate (ctx, buf, len);