aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/dh.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libssh/dh.c b/libssh/dh.c
index 67e25ecd..650a5521 100644
--- a/libssh/dh.c
+++ b/libssh/dh.c
@@ -484,12 +484,6 @@ int ssh_get_pubkey_hash(SSH_SESSION *session,unsigned char hash[MD5_DIGEST_LEN])
return MD5_DIGEST_LEN;
}
-/** \deprecated same as ssh_get_pubkey_hash()
- */
-static int pubkey_get_hash(SSH_SESSION *session, unsigned char hash[MD5_DIGEST_LEN]){
- return ssh_get_pubkey_hash(session,hash);
-}
-
STRING *ssh_get_pubkey(SSH_SESSION *session){
return string_copy(session->current_crypto->server_pubkey);
}