mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-16 00:00:37 -04:00
gcrypt: Make generic DH constructor static
This commit is contained in:
parent
e5d5277467
commit
a80069e7bf
@ -195,8 +195,8 @@ METHOD(diffie_hellman_t, destroy, void,
|
|||||||
/*
|
/*
|
||||||
* Generic internal constructor
|
* Generic internal constructor
|
||||||
*/
|
*/
|
||||||
gcrypt_dh_t *create_generic(diffie_hellman_group_t group, size_t exp_len,
|
static gcrypt_dh_t *create_generic(diffie_hellman_group_t group, size_t exp_len,
|
||||||
chunk_t g, chunk_t p)
|
chunk_t g, chunk_t p)
|
||||||
{
|
{
|
||||||
private_gcrypt_dh_t *this;
|
private_gcrypt_dh_t *this;
|
||||||
gcry_error_t err;
|
gcry_error_t err;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user