diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-09-02 15:45:41 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-09-20 16:35:13 +0200 |
commit | bbed139ecab26cb46b0bb3a21fa4cd2a4f12dadd (patch) | |
tree | 8d6e9c3f5d33792ec2c057fe7d5fd1dc51397e47 /include | |
parent | 0eab270754a104573f12e6b3c4ddef067bac2671 (diff) | |
download | libssh-bbed139ecab26cb46b0bb3a21fa4cd2a4f12dadd.tar.gz libssh-bbed139ecab26cb46b0bb3a21fa4cd2a4f12dadd.tar.xz libssh-bbed139ecab26cb46b0bb3a21fa4cd2a4f12dadd.zip |
dh: Add ssh_get_fingerprint_hash()
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/libssh/libssh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index d667dc39..1c8dd7cd 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -682,6 +682,9 @@ LIBSSH_API int ssh_pki_export_pubkey_file(const ssh_key key, LIBSSH_API const char *ssh_pki_key_ecdsa_name(const ssh_key key); +LIBSSH_API char *ssh_get_fingerprint_hash(enum ssh_publickey_hash_type type, + unsigned char *hash, + size_t len); LIBSSH_API void ssh_print_hash(enum ssh_publickey_hash_type type, unsigned char *hash, size_t len); LIBSSH_API void ssh_print_hexa(const char *descr, const unsigned char *what, size_t len); LIBSSH_API int ssh_send_ignore (ssh_session session, const char *data); |