summaryrefslogtreecommitdiffstats
path: root/libssh/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/server.c')
-rw-r--r--libssh/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/server.c b/libssh/server.c
index 7b33cc6..90b29b9 100644
--- a/libssh/server.c
+++ b/libssh/server.c
@@ -329,7 +329,7 @@ static int dh_handshake_server(SSH_SESSION *session) {
ssh_string f;
ssh_string pubkey;
ssh_string sign;
- PUBLIC_KEY *pub;
+ ssh_public_key pub;
PRIVATE_KEY *prv;
if (packet_wait(session, SSH2_MSG_KEXDH_INIT, 1) != SSH_OK) {