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
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/rand.cpp: In function ‘void fc::rand_pseudo_bytes(char*, int)’:
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/rand.cpp:24:60: warning: ‘int RAND_pseudo_bytes(unsigned char*, int)’ is deprecated[-Wdeprecated-declarations]
int result = RAND_pseudo_bytes((unsigned char*)buf, count);
^
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/ossl_typ.h:19,
from /usr/include/openssl/rand.h:14,
from /home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/rand.cpp:1:
/usr/include/openssl/rand.h:47:1: note: declared here
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
-------------------------------------------------------------------------------------------------------------------------------------
[ 45%] Building CXX object CMakeFiles/fc.dir/src/crypto/openssl.cpp.o
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/openssl.cpp: In constructor ‘fc::openssl_scope::openssl_scope()’:
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/openssl.cpp:33:33: warning: ‘void OPENSSL_config(const char*)’ is deprecated [-Wdeprecated-declarations]
OPENSSL_config(nullptr);
^
In file included from /usr/include/openssl/evp.h:13:0,
from /home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/include/fc/crypto/openssl.hpp:4,
from /home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/openssl.cpp:1:
/usr/include/openssl/conf.h:92:1: note: declared here
DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
^
[ 45%] Building CXX object CMakeFiles/fc.dir/src/crypto/aes.cpp.o
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/aes.cpp: In destructor ‘fc::openssl_thread_config::~openssl_thread_config()’:
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/src/crypto/aes.cpp:432:32: warning: the address of ‘static long unsigned int fc::openssl_thread_config::get_thread_id()’ will never be NULL [-Waddress]
if (CRYPTO_get_id_callback() == &get_thread_id)
-------------------------------------------------------------------------------------------------------------------------------------
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/tests/crypto/rand_test.cpp: In function ‘void check_randomness(const char*, size_t)’:
/home/valera/Projects/Blockchain/Graphene/BitShares/bitshares-core/libraries/fc/tests/crypto/rand_test.cpp:23:12: warning: unused variable ‘sigma’ [-Wunused-variable]
double sigma = sqrt(variance);
CORE TEAM TASK LIST
Evaluate / Prioritize Bug Report
Refine User Stories / Requirements
Define Test Cases
Design / Develop Solution
Perform QA/Testing
Update Documentation
The text was updated successfully, but these errors were encountered:
Instructions
Bug Description
bitshares-fc compilation warning
Impacts
Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
Steps To Reproduce
Steps to reproduce the behavior (example outlined below):
Expected Behavior
No compile warnings
Host Environment
Please provide details about the host environment. Much of this information can be found running:
witness_node --version
.Additional Context (optional)
CORE TEAM TASK LIST
The text was updated successfully, but these errors were encountered: