aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-07 18:38:09 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-07 18:38:09 +0000
commit323ee63a1d267548b60492a4f94ade2e29d6fce7 (patch)
treeb513441535706680159e9ea601b106acc9f2973b /include/libssh
parent1e52650dbfb5fb8949b91a0378d0b40df79af272 (diff)
downloadlibssh-323ee63a1d267548b60492a4f94ade2e29d6fce7.tar.gz
libssh-323ee63a1d267548b60492a4f94ade2e29d6fce7.tar.xz
libssh-323ee63a1d267548b60492a4f94ade2e29d6fce7.zip
Add return value and error checks to make_sessionid().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@418 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 31f66069..98f5e6e1 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -530,7 +530,7 @@ void dh_import_f(SSH_SESSION *session,STRING *f_string);
void dh_import_e(SSH_SESSION *session, STRING *e_string);
void dh_import_pubkey(SSH_SESSION *session,STRING *pubkey_string);
void dh_build_k(SSH_SESSION *session);
-void make_sessionid(SSH_SESSION *session);
+int make_sessionid(SSH_SESSION *session);
/* add data for the final cookie */
void hashbufin_add_cookie(SSH_SESSION *session,unsigned char *cookie);
void hashbufout_add_cookie(SSH_SESSION *session);