summaryrefslogtreecommitdiffstats
path: root/src/kex.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-11-10 14:46:22 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-11-10 14:46:22 +0100
commitce0324770d6e8b73abc231c8d3016807d04ed0b3 (patch)
tree1da47dc35a32267342fa7b17cb354d714aa1b8c9 /src/kex.c
parentbc2ab9b41449dee287beeb1417dbd08e119b0536 (diff)
downloadlibssh-ce0324770d6e8b73abc231c8d3016807d04ed0b3.tar.gz
libssh-ce0324770d6e8b73abc231c8d3016807d04ed0b3.tar.xz
libssh-ce0324770d6e8b73abc231c8d3016807d04ed0b3.zip
kex: Fix some build warnings.
Diffstat (limited to 'src/kex.c')
-rw-r--r--src/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex.c b/src/kex.c
index 096d7a0..bf553a1 100644
--- a/src/kex.c
+++ b/src/kex.c
@@ -70,7 +70,7 @@
#define KEY_EXCHANGE "diffie-hellman-group1-sha1"
#endif
-const char *default_methods[] = {
+static const char *default_methods[] = {
KEY_EXCHANGE,
"ssh-rsa,ssh-dss",
AES BLOWFISH DES,