knownhost.c: Fixed warning that pointer targets differ in signedness
Этот коммит содержится в:
родитель
b22b23703c
Коммит
200784c4e7
@ -427,7 +427,8 @@ knownhost_check(LIBSSH2_KNOWNHOSTS *hosts,
|
||||
we can't match it */
|
||||
break;
|
||||
}
|
||||
libssh2_hmac_sha1_init(&ctx, node->salt, node->salt_len);
|
||||
libssh2_hmac_sha1_init(&ctx, (unsigned char *)node->salt,
|
||||
node->salt_len);
|
||||
libssh2_hmac_update(ctx, (unsigned char *)host,
|
||||
strlen(host));
|
||||
libssh2_hmac_final(ctx, hash);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user