Fixed compiling with libgcrypt
A change of parameter types from unsigned long to size_t was missed in the prototype in libgcrypt.h
This commit is contained in:
parent
d15663477b
commit
7a088a8ab7
@ -124,9 +124,9 @@ int _libssh2_rsa_sha1_verify(libssh2_rsa_ctx * rsa,
|
||||
int _libssh2_rsa_sha1_sign(LIBSSH2_SESSION * session,
|
||||
libssh2_rsa_ctx * rsactx,
|
||||
const unsigned char *hash,
|
||||
unsigned long hash_len,
|
||||
size_t hash_len,
|
||||
unsigned char **signature,
|
||||
unsigned long *signature_len);
|
||||
size_t *signature_len);
|
||||
|
||||
#define _libssh2_rsa_free(rsactx) gcry_sexp_release (rsactx)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user