diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-24 22:08:04 +0200 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-07-24 22:08:04 +0200 |
commit | 23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60 (patch) | |
tree | 599f9e62ed88cc8da1124cfd48ef79046473fecc /libssh/server.c | |
parent | c041bcc6d9b86b06c9323b0824db2d3346023e4c (diff) | |
download | libssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.tar.gz libssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.tar.xz libssh-23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60.zip |
Change PRIVATE_KEY * to ssh_private_key
Diffstat (limited to 'libssh/server.c')
-rw-r--r-- | libssh/server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/server.c b/libssh/server.c index 90b29b92..8df0a1b9 100644 --- a/libssh/server.c +++ b/libssh/server.c @@ -179,8 +179,8 @@ void ssh_bind_fd_toaccept(SSH_BIND *ssh_bind) { SSH_SESSION *ssh_bind_accept(SSH_BIND *ssh_bind) { SSH_SESSION *session; - PRIVATE_KEY *dsa = NULL; - PRIVATE_KEY *rsa = NULL; + ssh_private_key dsa = NULL; + ssh_private_key rsa = NULL; int fd = -1; if (ssh_bind->bindfd < 0) { @@ -330,7 +330,7 @@ static int dh_handshake_server(SSH_SESSION *session) { ssh_string pubkey; ssh_string sign; ssh_public_key pub; - PRIVATE_KEY *prv; + ssh_private_key prv; if (packet_wait(session, SSH2_MSG_KEXDH_INIT, 1) != SSH_OK) { return -1; |