mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-07 00:01:49 -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
|
||||
*/
|
||||
gcrypt_dh_t *create_generic(diffie_hellman_group_t group, size_t exp_len,
|
||||
chunk_t g, chunk_t p)
|
||||
static gcrypt_dh_t *create_generic(diffie_hellman_group_t group, size_t exp_len,
|
||||
chunk_t g, chunk_t p)
|
||||
{
|
||||
private_gcrypt_dh_t *this;
|
||||
gcry_error_t err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user