gcrypt: Make generic DH constructor static

This commit is contained in:
Tobias Brunner 2018-09-12 12:56:11 +02:00
parent e5d5277467
commit a80069e7bf

View File

@ -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;