summaryrefslogtreecommitdiff
path: root/auth2-chall.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth2-chall.c')
-rw-r--r--auth2-chall.c16
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"
26RCSID("$OpenBSD: auth2-chall.c,v 1.6 2001/06/03 20:06:11 markus Exp $"); 26RCSID("$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
36static int auth2_challenge_start(Authctxt *authctxt); 36static int auth2_challenge_start(Authctxt *);
37static int send_userauth_info_request(Authctxt *authctxt); 37static int send_userauth_info_request(Authctxt *);
38static void input_userauth_info_response(int type, int plen, void *ctxt); 38static void input_userauth_info_response(int, int, void *);
39 39
40#ifdef BSD_AUTH 40#ifdef BSD_AUTH
41extern KbdintDevice bsdauth_device; 41extern KbdintDevice bsdauth_device;
@@ -64,7 +64,7 @@ struct KbdintAuthctxt
64 KbdintDevice *device; 64 KbdintDevice *device;
65}; 65};
66 66
67KbdintAuthctxt * 67static KbdintAuthctxt *
68kbdint_alloc(const char *devs) 68kbdint_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}
92void 92static void
93kbdint_reset_device(KbdintAuthctxt *kbdintctxt) 93kbdint_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}
101void 101static void
102kbdint_free(KbdintAuthctxt *kbdintctxt) 102kbdint_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 */
113int 113static int
114kbdint_next_device(KbdintAuthctxt *kbdintctxt) 114kbdint_next_device(KbdintAuthctxt *kbdintctxt)
115{ 115{
116 size_t len; 116 size_t len;