aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libssh/pki.h2
-rw-r--r--include/libssh/pki_priv.h5
2 files changed, 1 insertions, 6 deletions
diff --git a/include/libssh/pki.h b/include/libssh/pki.h
index e7a20156..533d3e09 100644
--- a/include/libssh/pki.h
+++ b/include/libssh/pki.h
@@ -133,7 +133,7 @@ int ssh_pki_import_signature_blob(const ssh_string sig_blob,
int ssh_pki_signature_verify(ssh_session session,
ssh_signature sig,
const ssh_key key,
- unsigned char *digest,
+ const unsigned char *digest,
size_t dlen);
/* SSH Public Key Functions */
diff --git a/include/libssh/pki_priv.h b/include/libssh/pki_priv.h
index 24538d8e..d365a2dd 100644
--- a/include/libssh/pki_priv.h
+++ b/include/libssh/pki_priv.h
@@ -124,11 +124,6 @@ ssh_signature pki_signature_from_blob(const ssh_key pubkey,
const ssh_string sig_blob,
enum ssh_keytypes_e type,
enum ssh_digest_e hash_type);
-int pki_signature_verify(ssh_session session,
- const ssh_signature sig,
- const ssh_key key,
- const unsigned char *input,
- size_t input_len);
/* SSH Signing Functions */
ssh_signature pki_do_sign(const ssh_key privkey,