From 85241c19e97056c1b03661a624b7b6f5c8964802 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Wed, 29 May 2019 13:48:06 +0200 Subject: [PATCH] kex: Reformat ssh_kex_get_supported_method() --- src/kex.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/kex.c b/src/kex.c index 68558613..af95987b 100644 --- a/src/kex.c +++ b/src/kex.c @@ -264,12 +264,13 @@ const char *ssh_kex_get_default_methods(uint32_t algo) return default_methods[algo]; } -const char *ssh_kex_get_supported_method(uint32_t algo) { - if (algo >= KEX_METHODS_SIZE) { - return NULL; - } +const char *ssh_kex_get_supported_method(uint32_t algo) +{ + if (algo >= KEX_METHODS_SIZE) { + return NULL; + } - return supported_methods[algo]; + return supported_methods[algo]; } const char *ssh_kex_get_description(uint32_t algo) {