From d1d003c23226dc429327fd473f829544c1e3636a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 25 Sep 2015 01:25:56 +0200 Subject: buffer: use ssh_buffer_get() instead of ssh_buffer_get_begin() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Andreas Schneider --- src/pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pki.c') diff --git a/src/pki.c b/src/pki.c index ac4a543a..d15c32cf 100644 --- a/src/pki.c +++ b/src/pki.c @@ -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 { -- cgit v1.2.3