mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-24 19:37:48 +03:00
ecdh: Fix missing-prototype warning
Related to the accidental removal of compiler flags as reported in #185 Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Norbert Pocs <npocs@redhat.com>
This commit is contained in:
@@ -69,7 +69,7 @@ static const char *ecdh_kex_type_to_curve(enum ssh_key_exchange_e kex_type) {
|
||||
* @brief Generate ECDH key pair for ecdh key exchange and store it in the
|
||||
* session->next_crypto structure
|
||||
*/
|
||||
ssh_string ssh_ecdh_generate(ssh_session session)
|
||||
static ssh_string ssh_ecdh_generate(ssh_session session)
|
||||
{
|
||||
ssh_string pubkey_string = NULL;
|
||||
const EC_GROUP *group = NULL;
|
||||
|
||||
Reference in New Issue
Block a user