mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-11-27 13:21:11 +03:00
moved try_publickey_from_file in priv.h
Had nothing to do in libssh.h. 100% sure nobody used it since one of the structure declaration was not public.
This commit is contained in:
@@ -80,7 +80,6 @@ typedef struct ssh_channel_struct CHANNEL;
|
|||||||
typedef struct ssh_agent_struct AGENT;
|
typedef struct ssh_agent_struct AGENT;
|
||||||
typedef struct ssh_session SSH_SESSION;
|
typedef struct ssh_session SSH_SESSION;
|
||||||
typedef struct ssh_kbdint SSH_KBDINT;
|
typedef struct ssh_kbdint SSH_KBDINT;
|
||||||
struct ssh_keys_struct;
|
|
||||||
|
|
||||||
/* integer values */
|
/* integer values */
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
@@ -257,9 +256,6 @@ PUBLIC_KEY *publickey_from_privatekey(PRIVATE_KEY *prv);
|
|||||||
void privatekey_free(PRIVATE_KEY *prv);
|
void privatekey_free(PRIVATE_KEY *prv);
|
||||||
STRING *publickey_from_file(SSH_SESSION *session, const char *filename,
|
STRING *publickey_from_file(SSH_SESSION *session, const char *filename,
|
||||||
int *type);
|
int *type);
|
||||||
STRING *try_publickey_from_file(SSH_SESSION *session,
|
|
||||||
struct ssh_keys_struct keytab,
|
|
||||||
char **privkeyfile, int *type);
|
|
||||||
int ssh_is_server_known(SSH_SESSION *session);
|
int ssh_is_server_known(SSH_SESSION *session);
|
||||||
int ssh_write_knownhost(SSH_SESSION *session);
|
int ssh_write_knownhost(SSH_SESSION *session);
|
||||||
|
|
||||||
|
|||||||
@@ -652,6 +652,9 @@ char *ssh_find_matching(const char *in_d, const char *what_d);
|
|||||||
|
|
||||||
PRIVATE_KEY *_privatekey_from_file(void *session, const char *filename,
|
PRIVATE_KEY *_privatekey_from_file(void *session, const char *filename,
|
||||||
int type);
|
int type);
|
||||||
|
STRING *try_publickey_from_file(SSH_SESSION *session,
|
||||||
|
struct ssh_keys_struct keytab,
|
||||||
|
char **privkeyfile, int *type);
|
||||||
|
|
||||||
/* in keys.c */
|
/* in keys.c */
|
||||||
const char *ssh_type_to_char(int type);
|
const char *ssh_type_to_char(int type);
|
||||||
|
|||||||
Reference in New Issue
Block a user