You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
supeuser@supeuser-MS-7C52:~/Desktop/CryptoKernel$ make
==== Building ck (debug_static) ====
Creating obj/Static/Debug/ck
AVRR.cpp
Lyra2.c
Lyra2RE.c
NoiseClient.cpp
NoiseServer.cpp
NoiseUtil.cpp
PoW.cpp
Sponge.c
base64.cpp
blake.c
blockchain.cpp
blockchaintypes.cpp
bmw.c
contract.cpp
crypto.cpp
In file included from /usr/include/openssl/evp.h:66,
from src/kernel/crypto.cpp:24:
/usr/include/x86_64-linux-gnu/openssl/opensslconf.h:20:3: error: #error OPENSSL_ALGORITHM_DEFINES no longer supported
20 | # error OPENSSL_ALGORITHM_DEFINES no longer supported
| ^~~~~
src/kernel/crypto.cpp: In member function ‘std::string CryptoKernel::Crypto::getPublicKey()’:
src/kernel/crypto.cpp:104:18: error: ‘EC_KEY_key2buf’ was not declared in this scope
104 | keyLen = EC_KEY_key2buf(eckey, EC_KEY_get_conv_form(eckey), &publicKey, NULL);
| ^~~~~~~~~~~~~~
src/kernel/crypto.cpp: In member function ‘std::string CryptoKernel::Crypto::getPrivateKey()’:
src/kernel/crypto.cpp:120:18: error: ‘EC_KEY_priv2buf’ was not declared in this scope; did you mean ‘EC_KEY_print_fp’?
120 | keyLen = EC_KEY_priv2buf(eckey, &privateKey);
| ^~~~~~~~~~~~~~~
| EC_KEY_print_fp
src/kernel/crypto.cpp: In member function ‘bool CryptoKernel::Crypto::setPublicKey(std::string)’:
src/kernel/crypto.cpp:134:9: error: ‘EC_KEY_oct2key’ was not declared in this scope; did you mean ‘EC_KEY_check_key’?
134 | if(!EC_KEY_oct2key(eckey, (unsigned char*)decodedKey.c_str(),
| ^~~~~~~~~~~~~~
| EC_KEY_check_key
src/kernel/crypto.cpp: In member function ‘bool CryptoKernel::Crypto::setPrivateKey(std::string)’:
src/kernel/crypto.cpp:145:9: error: ‘EC_KEY_oct2priv’ was not declared in this scope
145 | if(!EC_KEY_oct2priv(eckey, (unsigned char*)decodedKey.c_str(),
| ^~~~~~~~~~~~~~~
src/kernel/crypto.cpp: In member function ‘bool CryptoKernel::Crypto::setPublicKey(std::string)’:
src/kernel/crypto.cpp:140:1: warning: control reaches end of non-void function [-Wreturn-type]
140 | }
| ^
src/kernel/crypto.cpp: In member function ‘bool CryptoKernel::Crypto::setPrivateKey(std::string)’:
src/kernel/crypto.cpp:168:1: warning: control reaches end of non-void function [-Wreturn-type]
168 | }
| ^
make[1]: *** [ck.make:231: obj/Static/Debug/ck/crypto.o] Error 1
make: *** [Makefile:44: ck] Error 2
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: