diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2019-08-23 13:30:46 +0200 |
---|---|---|
committer | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2019-09-24 16:49:35 +0200 |
commit | 55cd04fbee7bf6c8157e2338695b03342615a261 (patch) | |
tree | f716a5fc5eab6fd59763f2daa6a9e7efdae17acb /src/pki.c | |
parent | 2a2c1c98bf4129f4c70ec1fef6558c2e5af15e5d (diff) | |
download | libssh-55cd04fbee7bf6c8157e2338695b03342615a261.tar.gz libssh-55cd04fbee7bf6c8157e2338695b03342615a261.tar.xz libssh-55cd04fbee7bf6c8157e2338695b03342615a261.zip |
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>
Diffstat (limited to 'src/pki.c')
-rw-r--r-- | src/pki.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2239,7 +2239,7 @@ int pki_key_check_hash_compatible(ssh_key key, int ssh_pki_signature_verify(ssh_session session, ssh_signature sig, const ssh_key key, - unsigned char *input, + const unsigned char *input, size_t input_len) { int rc; |