mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 12:24:19 +00:00
fixed typo
This commit is contained in:
parent
85e2137d0e
commit
192b484a8c
@ -811,7 +811,7 @@ namespace crypto
|
|||||||
|
|
||||||
uint8_t * GOSTR3411 (const uint8_t * buf, size_t len, uint8_t * digest)
|
uint8_t * GOSTR3411 (const uint8_t * buf, size_t len, uint8_t * digest)
|
||||||
{
|
{
|
||||||
//if (!g_Gost3411) return false; /* Converting bool to uint_8 ??? */
|
if (!g_Gost3411) return nullptr;
|
||||||
auto ctx = EVP_MD_CTX_new ();
|
auto ctx = EVP_MD_CTX_new ();
|
||||||
EVP_DigestInit_ex (ctx, g_Gost3411, GetGostEngine ());
|
EVP_DigestInit_ex (ctx, g_Gost3411, GetGostEngine ());
|
||||||
EVP_DigestUpdate (ctx, buf, len);
|
EVP_DigestUpdate (ctx, buf, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user