summaryrefslogtreecommitdiffstats
path: root/src/kex1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kex1.c')
-rw-r--r--src/kex1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kex1.c b/src/kex1.c
index 10e6327d..16919847 100644
--- a/src/kex1.c
+++ b/src/kex1.c
@@ -66,7 +66,7 @@ static ssh_string make_rsa1_string(ssh_string e, ssh_string n){
goto error;
}
- ssh_string_fill(ret, ssh_buffer_get_begin(buffer), ssh_buffer_get_len(buffer));
+ ssh_string_fill(ret, ssh_buffer_get(buffer), ssh_buffer_get_len(buffer));
error:
ssh_buffer_free(buffer);
ssh_string_free(rsa);