summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-08-18 10:08:20 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-08-18 10:08:20 +0000
commit56602ca031726a7682de3164b8f7f3da4881f7bb (patch)
treec524a0bec36899fda5c0ce90345ec8acab62a15c /libssh/dh.c
parentf730d3b361f717135786bddb3c949bfae213bbff (diff)
downloadlibssh-56602ca031726a7682de3164b8f7f3da4881f7bb.tar.gz
libssh-56602ca031726a7682de3164b8f7f3da4881f7bb.tar.xz
libssh-56602ca031726a7682de3164b8f7f3da4881f7bb.zip
More work on the server side and sftp.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@9 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 407fe97e..c96c70ac 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -213,14 +213,14 @@ void dh_build_k(SSH_SESSION *session){
#endif
bignum_ctx_free(ctx);
}
-
+/*
static void sha_add(STRING *str,SHACTX *ctx){
sha1_update(ctx,str,string_len(str)+4);
#ifdef DEBUG_CRYPTO
ssh_print_hexa("partial hashed sessionid",str,string_len(str)+4);
#endif
}
-
+*/
void make_sessionid(SSH_SESSION *session){
SHACTX *ctx;
STRING *num,*str;