From f1b6fca89b2c3ca5ea0f47290ad7010d4381bbad Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Dec 2019 00:01:08 +0100 Subject: [PATCH] include/libssh2.h: fix comment: the known host key uses 4 bits (#438) --- include/libssh2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh2.h b/include/libssh2.h index 3d08e819..386bcc89 100644 --- a/include/libssh2.h +++ b/include/libssh2.h @@ -989,7 +989,7 @@ libssh2_knownhost_init(LIBSSH2_SESSION *session); #define LIBSSH2_KNOWNHOST_KEYENC_RAW (1<<16) #define LIBSSH2_KNOWNHOST_KEYENC_BASE64 (2<<16) -/* type of key (3 bits) */ +/* type of key (4 bits) */ #define LIBSSH2_KNOWNHOST_KEY_MASK (15<<18) #define LIBSSH2_KNOWNHOST_KEY_SHIFT 18 #define LIBSSH2_KNOWNHOST_KEY_RSA1 (1<<18)