aboutsummaryrefslogtreecommitdiff
path: root/src/messages.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-10-03 12:07:00 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2010-10-03 12:07:00 +0200
commit338a3d9b0509d4cf49d2fdb00b17a9e9f7593447 (patch)
tree2a558ca6de423773cde030b44953d5c75a51974c /src/messages.c
parent5687d6e79a3ded310c847177d3a200384fdeb3d9 (diff)
downloadlibssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.tar.gz
libssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.tar.xz
libssh-338a3d9b0509d4cf49d2fdb00b17a9e9f7593447.zip
Removed references to ssh_buffer_get_begin
Diffstat (limited to 'src/messages.c')
-rw-r--r--src/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.c b/src/messages.c
index e1297c2c..6bd8d974 100644
--- a/src/messages.c
+++ b/src/messages.c
@@ -323,7 +323,7 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request){
if ((digest == NULL || signature == NULL) ||
(digest != NULL && signature != NULL &&
sig_verify(session, public_key, signature,
- ssh_buffer_get_begin(digest), ssh_buffer_get_len(digest)) < 0)) {
+ buffer_get_rest(digest), buffer_get_rest_len(digest)) < 0)) {
ssh_log(session, SSH_LOG_PACKET, "Wrong signature from peer");
ssh_string_free(sign);