mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-20 02:42:09 +03:00
fixed type warnings (#309)
This commit is contained in:
@@ -191,7 +191,7 @@ _libssh2_ed25519_new_private(libssh2_ed25519_ctx **ed_ctx,
|
||||
int
|
||||
_libssh2_ed25519_new_public(libssh2_ed25519_ctx **ed_ctx,
|
||||
LIBSSH2_SESSION *session,
|
||||
const char *raw_pub_key, const uint8_t key_len);
|
||||
const unsigned char *raw_pub_key, const uint8_t key_len);
|
||||
|
||||
int
|
||||
_libssh2_ed25519_sign(libssh2_ed25519_ctx *ctx, LIBSSH2_SESSION *session,
|
||||
|
||||
@@ -795,7 +795,7 @@ hostkey_method_ssh_ed25519_init(LIBSSH2_SESSION * session,
|
||||
size_t hostkey_data_len,
|
||||
void **abstract)
|
||||
{
|
||||
const char *s;
|
||||
const unsigned char *s;
|
||||
unsigned long len, key_len;
|
||||
libssh2_ed25519_ctx *ctx = NULL;
|
||||
|
||||
|
||||
@@ -1778,7 +1778,7 @@ _libssh2_ed25519_new_private_frommemory(libssh2_ed25519_ctx ** ed_ctx,
|
||||
int
|
||||
_libssh2_ed25519_new_public(libssh2_ed25519_ctx ** ed_ctx,
|
||||
LIBSSH2_SESSION * session,
|
||||
const char *raw_pub_key, const uint8_t key_len)
|
||||
const unsigned char *raw_pub_key, const uint8_t key_len)
|
||||
{
|
||||
libssh2_ed25519_ctx *ctx = NULL;
|
||||
EVP_PKEY *public_key = NULL;
|
||||
|
||||
Reference in New Issue
Block a user