1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-10-31 23:30:25 +03:00

Fix warnings.

This commit is contained in:
Simon Josefsson
2007-01-23 12:32:06 +00:00
parent 7f9ea39a5d
commit 1826e7365d

View File

@@ -99,7 +99,7 @@ libssh2_hostkey_method_ssh_rsa_init(LIBSSH2_SESSION *session,
* Load a Private Key from a PEM file
*/
static int libssh2_hostkey_method_ssh_rsa_initPEM(LIBSSH2_SESSION *session,
const char *privkeyfile, unsigned const char *passphrase, void **abstract)
unsigned const char *privkeyfile, unsigned const char *passphrase, void **abstract)
{
libssh2_rsa_ctx *rsactx;
FILE *fp;
@@ -257,7 +257,7 @@ libssh2_hostkey_method_ssh_dss_init(LIBSSH2_SESSION *session,
* Load a Private Key from a PEM file
*/
static int libssh2_hostkey_method_ssh_dss_initPEM(LIBSSH2_SESSION *session,
const char *privkeyfile,
unsigned const char *privkeyfile,
unsigned const char *passphrase,
void **abstract)
{