mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-29 01:03:57 +03:00
pki: Use SSH_BUFFER_FREE() in ssh_pki_signature_verify()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -2482,7 +2482,7 @@ int ssh_pki_signature_verify(ssh_session session,
|
||||
rc = pki_verify_data_signature(sig, key, ssh_buffer_get(sk_buffer),
|
||||
ssh_buffer_get_len(sk_buffer));
|
||||
|
||||
ssh_buffer_free(sk_buffer);
|
||||
SSH_BUFFER_FREE(sk_buffer);
|
||||
explicit_bzero(input_hash, SHA256_DIGEST_LEN);
|
||||
explicit_bzero(application_hash, SHA256_DIGEST_LEN);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user