From 5b2586312a8793ca056294665fed597c7fc6791a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 16 Apr 2009 15:14:15 +0000 Subject: 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 --- include/libssh/priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libssh') 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); -- cgit