Skip to content

Commit

Permalink
Fix erros in unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Apr 13, 2018
1 parent 6b81aab commit c0db16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/dh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace fc {

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);
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
ssl_bignum bn_p;
Expand Down

0 comments on commit c0db16b

Please sign in to comment.