From 23b6c95e04adeff7cf49d7d8dffc74f1e3e4bc60 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 24 Jul 2009 22:08:04 +0200 Subject: Change PRIVATE_KEY * to ssh_private_key --- libssh/server.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libssh/server.c') 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; -- cgit