From 7d9893c6149d425575df04242939f1c6fb1e19c0 Mon Sep 17 00:00:00 2001 From: orignal Date: Sun, 9 Sep 2018 17:27:53 -0400 Subject: [PATCH] fixed build error --- libi2pd/Crypto.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libi2pd/Crypto.cpp b/libi2pd/Crypto.cpp index cc424515..4393b2cc 100644 --- a/libi2pd/Crypto.cpp +++ b/libi2pd/Crypto.cpp @@ -321,9 +321,6 @@ namespace crypto m_Ctx = EVP_PKEY_CTX_new (m_Pkey, NULL); // TODO: do we really need to re-create m_Ctx? size_t len = 32; EVP_PKEY_get_raw_public_key (m_Pkey, m_PublicKey, &len); - // TODO: remove - len = 32; - EVP_PKEY_get_raw_private_key (m_Pkey, m_PrivateKey, &len); #else RAND_bytes (m_PrivateKey, 32); GetEd25519 ()->ScalarMulB (m_PrivateKey, m_PublicKey, m_Ctx);