diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2015-09-25 01:25:56 +0200 |
---|---|---|
committer | Fabiano FidĂȘncio <fidencio@redhat.com> | 2016-01-19 11:31:08 +0100 |
commit | d1d003c23226dc429327fd473f829544c1e3636a (patch) | |
tree | 6e075f3686c3d67327c440b30535dac525e905dc /src/pki.c | |
parent | 3cf72e52586ab1ebff360d9b4f989ef15abfefa6 (diff) | |
download | libssh-d1d003c23226dc429327fd473f829544c1e3636a.tar.gz libssh-d1d003c23226dc429327fd473f829544c1e3636a.tar.xz libssh-d1d003c23226dc429327fd473f829544c1e3636a.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>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/pki.c')
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1659,7 +1659,7 @@ ssh_string ssh_pki_do_sign(ssh_session session, } sig = pki_do_sign(privkey, - ssh_buffer_get_begin(buf), + ssh_buffer_get(buf), ssh_buffer_get_len(buf)); ssh_buffer_free(buf); } else { |