Fix erros in unittest
This commit is contained in:
parent
6b81aab6ef
commit
c0db16bf3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue