=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth2-kbdint.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/ssh/auth2-kbdint.c 2002/05/25 18:51:07 1.1 +++ src/usr.bin/ssh/auth2-kbdint.c 2002/05/31 11:35:15 1.2 @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2-kbdint.c,v 1.1 2002/05/25 18:51:07 markus Exp $"); +RCSID("$OpenBSD: auth2-kbdint.c,v 1.2 2002/05/31 11:35:15 markus Exp $"); #include "packet.h" #include "auth.h" @@ -34,7 +34,7 @@ /* import */ extern ServerOptions options; -int +static int userauth_kbdint(Authctxt *authctxt) { int authenticated = 0; @@ -53,3 +53,9 @@ xfree(lang); return authenticated; } + +Authmethod method_kbdint = { + "keyboard-interactive", + userauth_kbdint, + &options.kbd_interactive_authentication +};