aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/priv.h
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-16 15:14:15 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-16 15:14:15 +0000
commit5b2586312a8793ca056294665fed597c7fc6791a (patch)
tree2c1c1b1e198d4fe8b661c2f415e69e51749cd34a /include/libssh/priv.h
parentac38bbc138c5dbc55a292b1bb90c7a94795d6a7c (diff)
downloadlibssh-5b2586312a8793ca056294665fed597c7fc6791a.tar.gz
libssh-5b2586312a8793ca056294665fed597c7fc6791a.tar.xz
libssh-5b2586312a8793ca056294665fed597c7fc6791a.zip
Add return values to generate_session_keys() and generate_one_key().
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@508 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include/libssh/priv.h')
-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 704f0b1c..5e069450 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -533,7 +533,7 @@ int make_sessionid(SSH_SESSION *session);
/* add data for the final cookie */
int hashbufin_add_cookie(SSH_SESSION *session, unsigned char *cookie);
int hashbufout_add_cookie(SSH_SESSION *session);
-void generate_session_keys(SSH_SESSION *session);
+int generate_session_keys(SSH_SESSION *session);
/* returns 1 if server signature ok, 0 otherwise. The NEXT crypto is checked, not the current one */
int signature_verify(SSH_SESSION *session,STRING *signature);
bignum make_string_bn(STRING *string);