1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

src: bump hash_len to size_t in LIBSSH2_HOSTKEY_METHOD

Follow-up to 7b8e02257f
Closes #1076
This commit is contained in:
Viktor Szakats
2023-05-31 22:07:13 +00:00
parent c6e137f7aa
commit 8b917d765f

View File

@@ -947,7 +947,7 @@ struct _LIBSSH2_KEX_METHOD
struct _LIBSSH2_HOSTKEY_METHOD
{
const char *name;
unsigned long hash_len;
size_t hash_len;
int (*init) (LIBSSH2_SESSION * session, const unsigned char *hostkey_data,
size_t hostkey_data_len, void **abstract);