aboutsummaryrefslogtreecommitdiff
path: root/libssh/kex.c
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
committerAndreas Schneider <mail@cynapses.org>2009-02-02 16:09:38 +0000
commit974a160fd31c10852e9bb811d14a33cff1bae7c4 (patch)
tree4bda1914a6a8f141a4faf57014cf54a868a0c0f2 /libssh/kex.c
parent5e03a95a937c8c64e4bfab8f796d88a4168857bd (diff)
downloadlibssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.gz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.tar.xz
libssh-974a160fd31c10852e9bb811d14a33cff1bae7c4.zip
Fix several build warnings.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@214 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/kex.c')
-rw-r--r--libssh/kex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/kex.c b/libssh/kex.c
index b5a2f633..c1260077 100644
--- a/libssh/kex.c
+++ b/libssh/kex.c
@@ -348,7 +348,7 @@ static int modulus_smaller(PUBLIC_KEY *k1, PUBLIC_KEY *k2){
}
#define ABS(A) ( (A)<0 ? -(A):(A) )
-STRING *encrypt_session_key(SSH_SESSION *session, PUBLIC_KEY *svrkey,
+static STRING *encrypt_session_key(SSH_SESSION *session, PUBLIC_KEY *svrkey,
PUBLIC_KEY *hostkey,int slen, int hlen ){
unsigned char buffer[32];
int i;