aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-16 14:50:53 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-16 14:50:53 +0000
commitc6eb54c39e4663c8f9ea82e8bf29bfdb3c8d945a (patch)
tree6a5df0628e9356be11cac56f5068f5724f3b7709 /include
parente8a9cb25febeccd97aed9eb8e04da0b9f89b5a33 (diff)
downloadlibssh-c6eb54c39e4663c8f9ea82e8bf29bfdb3c8d945a.tar.gz
libssh-c6eb54c39e4663c8f9ea82e8bf29bfdb3c8d945a.tar.xz
libssh-c6eb54c39e4663c8f9ea82e8bf29bfdb3c8d945a.zip
Improve dh_import() functions.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@505 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 1deff590..4fe54a9e 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -525,8 +525,8 @@ void ssh_crypto_finalize(void);
STRING *dh_get_e(SSH_SESSION *session);
STRING *dh_get_f(SSH_SESSION *session);
-void dh_import_f(SSH_SESSION *session,STRING *f_string);
-void dh_import_e(SSH_SESSION *session, STRING *e_string);
+int dh_import_f(SSH_SESSION *session,STRING *f_string);
+int 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);
int make_sessionid(SSH_SESSION *session);