diff options
author | Fabiano Fidêncio <fidencio@redhat.com> | 2015-09-25 01:25:56 +0200 |
---|---|---|
committer | Fabiano Fidêncio <fidencio@redhat.com> | 2015-10-12 13:56:21 +0200 |
commit | 850936900fb95e59fbc15d3f1d9993385326977f (patch) | |
tree | 565b9c1f97ba7530eb1548405da3b904668d0400 /src/kex1.c | |
parent | 86e3680bdedee10b6f0a46360b5a330d96e2f707 (diff) | |
download | libssh-850936900fb95e59fbc15d3f1d9993385326977f.tar.gz libssh-850936900fb95e59fbc15d3f1d9993385326977f.tar.xz libssh-850936900fb95e59fbc15d3f1d9993385326977f.zip |
buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin()
This commit is a preparatory stage for removing ssh_buffer_get_begin().
Note that removing ssh_buffer_get_begin() doesn't break API
compatibility, as this functions has never been exposed (it only has the
LIBSSH_API prefix).
Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
Diffstat (limited to 'src/kex1.c')
-rw-r--r-- | src/kex1.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |