SpartanCoin-OpenSSL-1.1.1 Release Date: 2019-01-14
SpartanCoin Wallet Upgraded to OpenSSL-1.1.1 Special Edition (2019-01-14)
* Big Num Change *
file: src/bignum.h src/base58.h src/key.cpp
BIGNUM is not a complete struct in OpenSSL 1.1.1 any more and CBigNum can not inherit it directly, so change it to a member data bn_ptr of CBigNum. Any method of CBigNum calling to its parent class BIGNUM previsously should be refered via bn_ptr now. In the old version, CBigNum this pointer is a pointer of OpenSSL BIGNUM, but now it is bn_ptr.
BN_init to BN_new
BN_init deprecated and removed in OpenSSL 1.1.1.
* EVP_CIPHER change *
EVP_CIPHER_CTX_init to EVP_CIPHER_CTX_new
EVP_CIPHER_CTX_cleanup to EVP_CIPHER_CTX_free
* ECDSA_sig change *
change to ECDSA_SIG_get0_r and ECDSA_SIG_get0_s
ECDSA sig r and s cannot be got directly from the struct, alternatively via ECDSA_SIG_get0_r and ECDSA_SIG_get0_s
* c++11 STL Comparator Change *
file: src/main.h src/main.cpp
CBlockIndexWorkComparator operator with const qualifier
The comparator operator passed to STL container std::set should be bringing with const qualifier from c++11, however SpartanCoin Xjail source code has been using c++17 standard.