1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

Removed references to ssh_buffer_get_begin

This commit is contained in:
Aris Adamantiadis
2010-10-03 12:07:00 +02:00
parent 5687d6e79a
commit 338a3d9b05
15 changed files with 56 additions and 56 deletions

View File

@@ -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);