HomePhabricator

pki: Remove unused function pki_signature_verify()

Authored by Anderson Toshiyuki Sasaki <ansasaki@redhat.com> on Aug 23 2019, 1:30 PM.

Description

pki: Remove unused function pki_signature_verify()

This removes unused function pki_signature_verify()
from pki_{crypto, mbedcrypto, gcrypt}. The function was also removed
from include/libssh/pki_priv.h. The function ssh_pki_signature_verify()
was changed to receive a const unsigned char *input.

All tests calling pki_signature_verify() were changed to call
ssh_pki_signature_verify() instead.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit 55cd04fbee7bf6c8157e2338695b03342615a261)

Details