|
|
|
@ -302,3 +302,33 @@ index 4835ab6..6f21a1a 100644
|
|
|
|
|
--
|
|
|
|
|
1.7.1
|
|
|
|
|
|
|
|
|
|
From fe8f3deb480d1fcef0d720e6b9acabbd640fe7c3 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
|
|
Date: Thu, 1 Nov 2012 14:57:06 +0100
|
|
|
|
|
Subject: [PATCH] libssh2_hostkey_hash.3: update the description of return value
|
|
|
|
|
|
|
|
|
|
The function returns NULL also if the hash algorithm is not available.
|
|
|
|
|
---
|
|
|
|
|
docs/libssh2_hostkey_hash.3 | 7 ++++---
|
|
|
|
|
1 files changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/docs/libssh2_hostkey_hash.3 b/docs/libssh2_hostkey_hash.3
|
|
|
|
|
index f78831c..c2f1644 100644
|
|
|
|
|
--- a/docs/libssh2_hostkey_hash.3
|
|
|
|
|
+++ b/docs/libssh2_hostkey_hash.3
|
|
|
|
|
@@ -18,8 +18,9 @@ Returns the computed digest of the remote system's hostkey. The length of
|
|
|
|
|
the returned string is hash_type specific (e.g. 16 bytes for MD5,
|
|
|
|
|
20 bytes for SHA1).
|
|
|
|
|
.SH RETURN VALUE
|
|
|
|
|
-Computed hostkey hash value. or NULL if the session has not yet been started
|
|
|
|
|
-up. (The hash consists of raw binary bytes, not hex digits, so is not
|
|
|
|
|
-directly printable.)
|
|
|
|
|
+Computed hostkey hash value, or NULL if the information is not available
|
|
|
|
|
+(either the session has not yet been started up, or the requested hash
|
|
|
|
|
+algorithm was not available). The hash consists of raw binary bytes, not hex
|
|
|
|
|
+digits, so it is not directly printable.
|
|
|
|
|
.SH SEE ALSO
|
|
|
|
|
.BR libssh2_session_init_ex(3)
|
|
|
|
|
--
|
|
|
|
|
1.7.1
|
|
|
|
|
|
|
|
|
|