From 2c876464ab0a27387a122c6a4b39ec187a6fc596 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Fri, 14 Apr 2023 17:08:56 +0200 Subject: [PATCH] ecdh: Fix missing-prototype warning Related to the accidental removal of compiler flags as reported in #185 Signed-off-by: Jakub Jelen Reviewed-by: Norbert Pocs --- src/ecdh_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ecdh_crypto.c b/src/ecdh_crypto.c index 91c26240..81cb2282 100644 --- a/src/ecdh_crypto.c +++ b/src/ecdh_crypto.c @@ -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;