diff options
author | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2017-10-04 11:23:58 +0100 |
commit | 62f54f20bf351468e0124f63cc2902ee40d9b0e9 (patch) | |
tree | 3e090f2711b94ca5029d3fa3e8047b1ed1448b1f /sshconnect.h | |
parent | 6fabaf6fd9b07cc8bc6a17c9c4a5b76849cfc874 (diff) | |
parent | 66bf74a92131b7effe49fb0eefe5225151869dc5 (diff) |
Import openssh_7.6p1.orig.tar.gz
Diffstat (limited to 'sshconnect.h')
-rw-r--r-- | sshconnect.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sshconnect.h b/sshconnect.h index cf1851a95..b5029e234 100644 --- a/sshconnect.h +++ b/sshconnect.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.h,v 1.29 2015/11/15 22:26:49 jcs Exp $ */ | 1 | /* $OpenBSD: sshconnect.h,v 1.31 2017/09/12 06:32:07 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -26,14 +26,16 @@ | |||
26 | 26 | ||
27 | typedef struct Sensitive Sensitive; | 27 | typedef struct Sensitive Sensitive; |
28 | struct Sensitive { | 28 | struct Sensitive { |
29 | Key **keys; | 29 | struct sshkey **keys; |
30 | int nkeys; | 30 | int nkeys; |
31 | int external_keysign; | 31 | int external_keysign; |
32 | }; | 32 | }; |
33 | 33 | ||
34 | struct addrinfo; | 34 | struct addrinfo; |
35 | int ssh_connect(const char *, struct addrinfo *, struct sockaddr_storage *, | 35 | struct ssh; |
36 | u_short, int, int, int *, int, int); | 36 | |
37 | int ssh_connect(struct ssh *, const char *, struct addrinfo *, | ||
38 | struct sockaddr_storage *, u_short, int, int, int *, int, int); | ||
37 | void ssh_kill_proxy_command(void); | 39 | void ssh_kill_proxy_command(void); |
38 | 40 | ||
39 | void ssh_login(Sensitive *, const char *, struct sockaddr *, u_short, | 41 | void ssh_login(Sensitive *, const char *, struct sockaddr *, u_short, |
@@ -41,7 +43,7 @@ void ssh_login(Sensitive *, const char *, struct sockaddr *, u_short, | |||
41 | 43 | ||
42 | void ssh_exchange_identification(int); | 44 | void ssh_exchange_identification(int); |
43 | 45 | ||
44 | int verify_host_key(char *, struct sockaddr *, Key *); | 46 | int verify_host_key(char *, struct sockaddr *, struct sshkey *); |
45 | 47 | ||
46 | void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short, | 48 | void get_hostfile_hostname_ipaddr(char *, struct sockaddr *, u_short, |
47 | char **, char **); | 49 | char **, char **); |
@@ -55,7 +57,7 @@ void ssh_userauth2(const char *, const char *, char *, Sensitive *); | |||
55 | void ssh_put_password(char *); | 57 | void ssh_put_password(char *); |
56 | int ssh_local_cmd(const char *); | 58 | int ssh_local_cmd(const char *); |
57 | 59 | ||
58 | void maybe_add_key_to_agent(char *, Key *, char *, char *); | 60 | void maybe_add_key_to_agent(char *, struct sshkey *, char *, char *); |
59 | 61 | ||
60 | /* | 62 | /* |
61 | * Macros to raise/lower permissions. | 63 | * Macros to raise/lower permissions. |