mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-12 20:36:38 +01:00
disable incorrect check
This commit is contained in:
parent
c1042c8f20
commit
85e2137d0e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue