Fix warnings.
Этот коммит содержится в:
родитель
7f9ea39a5d
Коммит
1826e7365d
@ -99,7 +99,7 @@ libssh2_hostkey_method_ssh_rsa_init(LIBSSH2_SESSION *session,
|
|||||||
* Load a Private Key from a PEM file
|
* Load a Private Key from a PEM file
|
||||||
*/
|
*/
|
||||||
static int libssh2_hostkey_method_ssh_rsa_initPEM(LIBSSH2_SESSION *session,
|
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;
|
libssh2_rsa_ctx *rsactx;
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
@ -257,7 +257,7 @@ libssh2_hostkey_method_ssh_dss_init(LIBSSH2_SESSION *session,
|
|||||||
* Load a Private Key from a PEM file
|
* Load a Private Key from a PEM file
|
||||||
*/
|
*/
|
||||||
static int libssh2_hostkey_method_ssh_dss_initPEM(LIBSSH2_SESSION *session,
|
static int libssh2_hostkey_method_ssh_dss_initPEM(LIBSSH2_SESSION *session,
|
||||||
const char *privkeyfile,
|
unsigned const char *privkeyfile,
|
||||||
unsigned const char *passphrase,
|
unsigned const char *passphrase,
|
||||||
void **abstract)
|
void **abstract)
|
||||||
{
|
{
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user