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

pki: We need only one signature verify blob function.

This fixes the build without server.
This commit is contained in:
Andreas Schneider
2011-08-23 08:19:53 +02:00
parent 8fb8ad0151
commit 149be78ee0
4 changed files with 48 additions and 80 deletions

View File

@@ -617,11 +617,11 @@ SSH_PACKET_CALLBACK(ssh_packet_userauth_request){
goto error;
}
rc = ssh_srv_pki_signature_verify_blob(session,
sig_blob,
msg->auth_request.pubkey,
buffer_get_rest(digest),
buffer_get_rest_len(digest));
rc = ssh_pki_signature_verify_blob(session,
sig_blob,
msg->auth_request.pubkey,
buffer_get_rest(digest),
buffer_get_rest_len(digest));
ssh_string_free(sig_blob);
ssh_buffer_free(digest);
if (rc < 0) {