Skip to content

Commit

Permalink
include/libssh2.h: fix comment: the known host key uses 4 bits (libss…
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder authored and willco007 committed Dec 17, 2019
1 parent 24fd419 commit f1b6fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/libssh2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f1b6fca

Please sign in to comment.