diff options
Diffstat (limited to 'auth2.c')
-rw-r--r-- | auth2.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -27,7 +27,7 @@ | |||
27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 | */ | 28 | */ |
29 | #include "includes.h" | 29 | #include "includes.h" |
30 | RCSID("$OpenBSD: auth2.c,v 1.3 2000/04/27 15:23:02 markus Exp $"); | 30 | RCSID("$OpenBSD: auth2.c,v 1.4 2000/05/01 07:45:08 markus Exp $"); |
31 | 31 | ||
32 | #include <openssl/dsa.h> | 32 | #include <openssl/dsa.h> |
33 | #include <openssl/rsa.h> | 33 | #include <openssl/rsa.h> |
@@ -92,6 +92,10 @@ static int userauth_success = 0; | |||
92 | void | 92 | void |
93 | do_authentication2() | 93 | do_authentication2() |
94 | { | 94 | { |
95 | /* turn off skey/kerberos, not supported by SSH2 */ | ||
96 | options.skey_authentication = 0; | ||
97 | options.kerberos_authentication = 0; | ||
98 | |||
95 | dispatch_init(&protocol_error); | 99 | dispatch_init(&protocol_error); |
96 | dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); | 100 | dispatch_set(SSH2_MSG_SERVICE_REQUEST, &input_service_request); |
97 | dispatch_run(DISPATCH_BLOCK, &userauth_success); | 101 | dispatch_run(DISPATCH_BLOCK, &userauth_success); |