summaryrefslogtreecommitdiffstats
path: root/libssh/dh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/dh.c')
-rw-r--r--libssh/dh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 23e2d631..1bf663d9 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -477,9 +477,9 @@ int make_sessionid(SSH_SESSION *session) {
SHACTX ctx;
ssh_string num = NULL;
ssh_string str = NULL;
- BUFFER *server_hash = NULL;
- BUFFER *client_hash = NULL;
- BUFFER *buf = NULL;
+ ssh_buffer server_hash = NULL;
+ ssh_buffer client_hash = NULL;
+ ssh_buffer buf = NULL;
u32 len;
int rc = SSH_ERROR;