diff options
Diffstat (limited to 'sshconnect.h')
-rw-r--r-- | sshconnect.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sshconnect.h b/sshconnect.h index b475adde0..ad34ee64a 100644 --- a/sshconnect.h +++ b/sshconnect.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.h,v 1.13 2001/10/08 19:05:05 markus Exp $ */ | 1 | /* $OpenBSD: sshconnect.h,v 1.14 2002/05/23 19:24:30 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -26,20 +26,27 @@ | |||
26 | #ifndef SSHCONNECT_H | 26 | #ifndef SSHCONNECT_H |
27 | #define SSHCONNECT_H | 27 | #define SSHCONNECT_H |
28 | 28 | ||
29 | typedef struct Sensitive Sensitive; | ||
30 | struct Sensitive { | ||
31 | Key **keys; | ||
32 | int nkeys; | ||
33 | int external_keysign; | ||
34 | }; | ||
35 | |||
29 | int | 36 | int |
30 | ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int, | 37 | ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int, |
31 | int, struct passwd *, const char *); | 38 | int, struct passwd *, const char *); |
32 | 39 | ||
33 | void | 40 | void |
34 | ssh_login(Key **, int, const char *, struct sockaddr *, struct passwd *); | 41 | ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *); |
35 | 42 | ||
36 | int verify_host_key(char *, struct sockaddr *, Key *); | 43 | int verify_host_key(char *, struct sockaddr *, Key *); |
37 | 44 | ||
38 | void ssh_kex(char *, struct sockaddr *); | 45 | void ssh_kex(char *, struct sockaddr *); |
39 | void ssh_kex2(char *, struct sockaddr *); | 46 | void ssh_kex2(char *, struct sockaddr *); |
40 | 47 | ||
41 | void ssh_userauth1(const char *, const char *, char *, Key **, int); | 48 | void ssh_userauth1(const char *, const char *, char *, Sensitive *); |
42 | void ssh_userauth2(const char *, const char *, char *, Key **, int); | 49 | void ssh_userauth2(const char *, const char *, char *, Sensitive *); |
43 | 50 | ||
44 | void ssh_put_password(char *); | 51 | void ssh_put_password(char *); |
45 | 52 | ||