diff options
Diffstat (limited to 'auth2-chall.c')
-rw-r--r-- | auth2-chall.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/auth2-chall.c b/auth2-chall.c index be741010e..5afd7d769 100644 --- a/auth2-chall.c +++ b/auth2-chall.c | |||
@@ -23,7 +23,7 @@ | |||
23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24 | */ | 24 | */ |
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $"); | 26 | RCSID("$OpenBSD: auth2-chall.c,v 1.7 2001/06/23 15:12:17 itojun Exp $"); |
27 | 27 | ||
28 | #include "ssh2.h" | 28 | #include "ssh2.h" |
29 | #include "auth.h" | 29 | #include "auth.h" |
@@ -33,9 +33,9 @@ RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $"); | |||
33 | #include "auth.h" | 33 | #include "auth.h" |
34 | #include "log.h" | 34 | #include "log.h" |
35 | 35 | ||
36 | static int auth2_challenge_start(Authctxt *authctxt); | 36 | static int auth2_challenge_start(Authctxt *); |
37 | static int send_userauth_info_request(Authctxt *authctxt); | 37 | static int send_userauth_info_request(Authctxt *); |
38 | static void input_userauth_info_response(int type, int plen, void *ctxt); | 38 | static void input_userauth_info_response(int, int, void *); |
39 | 39 | ||
40 | #ifdef BSD_AUTH | 40 | #ifdef BSD_AUTH |
41 | extern KbdintDevice bsdauth_device; | 41 | extern KbdintDevice bsdauth_device; |
@@ -64,7 +64,7 @@ struct KbdintAuthctxt | |||
64 | KbdintDevice *device; | 64 | KbdintDevice *device; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | KbdintAuthctxt * | 67 | static KbdintAuthctxt * |
68 | kbdint_alloc(const char *devs) | 68 | kbdint_alloc(const char *devs) |
69 | { | 69 | { |
70 | KbdintAuthctxt *kbdintctxt; | 70 | KbdintAuthctxt *kbdintctxt; |
@@ -89,7 +89,7 @@ kbdint_alloc(const char *devs) | |||
89 | 89 | ||
90 | return kbdintctxt; | 90 | return kbdintctxt; |
91 | } | 91 | } |
92 | void | 92 | static void |
93 | kbdint_reset_device(KbdintAuthctxt *kbdintctxt) | 93 | kbdint_reset_device(KbdintAuthctxt *kbdintctxt) |
94 | { | 94 | { |
95 | if (kbdintctxt->ctxt) { | 95 | if (kbdintctxt->ctxt) { |
@@ -98,7 +98,7 @@ kbdint_reset_device(KbdintAuthctxt *kbdintctxt) | |||
98 | } | 98 | } |
99 | kbdintctxt->device = NULL; | 99 | kbdintctxt->device = NULL; |
100 | } | 100 | } |
101 | void | 101 | static void |
102 | kbdint_free(KbdintAuthctxt *kbdintctxt) | 102 | kbdint_free(KbdintAuthctxt *kbdintctxt) |
103 | { | 103 | { |
104 | if (kbdintctxt->device) | 104 | if (kbdintctxt->device) |
@@ -110,7 +110,7 @@ kbdint_free(KbdintAuthctxt *kbdintctxt) | |||
110 | xfree(kbdintctxt); | 110 | xfree(kbdintctxt); |
111 | } | 111 | } |
112 | /* get next device */ | 112 | /* get next device */ |
113 | int | 113 | static int |
114 | kbdint_next_device(KbdintAuthctxt *kbdintctxt) | 114 | kbdint_next_device(KbdintAuthctxt *kbdintctxt) |
115 | { | 115 | { |
116 | size_t len; | 116 | size_t len; |