From 0ece6e52aaa6b1b5b4cc2a06f0fc52486064ecab Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 12 Feb 2020 09:44:58 +0100 Subject: [PATCH] pki: Use SSH_BUFFER_FREE() in ssh_pki_signature_verify() Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- src/pki.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pki.c b/src/pki.c index f3ad4a98..8bbc8673 100644 --- a/src/pki.c +++ b/src/pki.c @@ -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);