aboutsummaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-06-13 16:23:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2019-06-13 16:29:32 +0200
commitc0c1454298aafefa9912e4cdd89b32f4c4eb9b6f (patch)
treeeb841b70b3d9cd04f4bb7b2205bf5553820fbe27 /src/session.c
parentddece69a07a978897cd12de2035dad8388fe25e8 (diff)
downloadlibssh-c0c1454298aafefa9912e4cdd89b32f4c4eb9b6f.tar.gz
libssh-c0c1454298aafefa9912e4cdd89b32f4c4eb9b6f.tar.xz
libssh-c0c1454298aafefa9912e4cdd89b32f4c4eb9b6f.zip
session: OpenSSH is using SHA256 fingerprints now
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index d692b32e..7b5222b9 100644
--- a/src/session.c
+++ b/src/session.c
@@ -1091,7 +1091,7 @@ int ssh_get_publickey(ssh_session session, ssh_key *key)
* @warning It is very important that you verify at some moment that the hash
* matches a known server. If you don't do it, cryptography wont help
* you at making things secure.
- * OpenSSH uses SHA1 to print public key digests.
+ * OpenSSH uses SHA256 to print public key digests.
*
* @see ssh_session_update_known_hosts()
* @see ssh_get_hexa()