summaryrefslogtreecommitdiffstats
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-09-17 12:10:34 +0200
committerAndreas Schneider <asn@cryptomilk.org>2011-09-18 21:37:17 +0200
commitd7fa15df83619dd300580a444ab330a2a8592d4a (patch)
treef739e3c116412465a2e295eebb166f188760188d /include/libssh/crypto.h
parent519291558d5c702775d60253e6b9d9ca9249b59a (diff)
downloadlibssh-d7fa15df83619dd300580a444ab330a2a8592d4a.tar.gz
libssh-d7fa15df83619dd300580a444ab330a2a8592d4a.tar.xz
libssh-d7fa15df83619dd300580a444ab330a2a8592d4a.zip
priv: Move kex functions to kex header.
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index dfdcac9..498835e 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -80,8 +80,8 @@ struct ssh_crypto_struct {
void *compress_out_ctx; /* don't touch it */
void *compress_in_ctx; /* really, don't */
/* kex sent by server, client, and mutually elected methods */
- KEX server_kex;
- KEX client_kex;
+ struct ssh_kex_struct server_kex;
+ struct ssh_kex_struct client_kex;
char *kex_methods[SSH_KEX_METHODS];
enum ssh_key_exchange_e kex_type;
enum ssh_mac_e mac_type; /* Mac operations to use for key gen */