FC Updates from BitShares and myself #21

Closed
nathanielhourt wants to merge 687 commits from dapp-support into latest-fc
Showing only changes of commit c0db16bf3b - Show all commits

View file

@ -15,7 +15,7 @@ namespace fc {
bool diffie_hellman::generate_params( int s, uint8_t g ) bool diffie_hellman::generate_params( int s, uint8_t g )
{ {
ssl_dh dh; ssl_dh dh(DH_new());
DH_generate_parameters_ex(dh.obj, s, g, NULL); DH_generate_parameters_ex(dh.obj, s, g, NULL);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L #if OPENSSL_VERSION_NUMBER >= 0x10100000L
ssl_bignum bn_p; ssl_bignum bn_p;