diff options
author | Damien Miller <djm@mindrot.org> | 2014-05-15 14:24:09 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2014-05-15 14:24:09 +1000 |
commit | 1f0311c7c7d10c94ff7f823de9c5b2ed79368b14 (patch) | |
tree | ae708c2a25f84a04bcb04f2dbf3e8039e0f692bc /sshconnect.c | |
parent | c5893785564498cea73cb60d2cf199490483e080 (diff) |
- markus@cvs.openbsd.org 2014/04/29 18:01:49
[auth.c authfd.c authfile.c bufaux.c cipher.c cipher.h hostfile.c]
[kex.c key.c mac.c monitor.c monitor_wrap.c myproposal.h packet.c]
[roaming_client.c ssh-agent.c ssh-keygen.c ssh-keyscan.c ssh-keysign.c]
[ssh-pkcs11.h ssh.c sshconnect.c sshconnect2.c sshd.c]
make compiling against OpenSSL optional (make OPENSSL=no);
reduces algorithms to curve25519, aes-ctr, chacha, ed25519;
allows us to explore further options; with and ok djm
Diffstat (limited to 'sshconnect.c')
-rw-r--r-- | sshconnect.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sshconnect.c b/sshconnect.c index ca6e4cc96..5d14ca6cc 100644 --- a/sshconnect.c +++ b/sshconnect.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect.c,v 1.247 2014/04/01 03:34:10 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect.c,v 1.248 2014/04/29 18:01:49 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1292,8 +1292,12 @@ ssh_login(Sensitive *sensitive, const char *orighost, | |||
1292 | ssh_kex2(host, hostaddr, port); | 1292 | ssh_kex2(host, hostaddr, port); |
1293 | ssh_userauth2(local_user, server_user, host, sensitive); | 1293 | ssh_userauth2(local_user, server_user, host, sensitive); |
1294 | } else { | 1294 | } else { |
1295 | #ifdef WITH_SSH1 | ||
1295 | ssh_kex(host, hostaddr); | 1296 | ssh_kex(host, hostaddr); |
1296 | ssh_userauth1(local_user, server_user, host, sensitive); | 1297 | ssh_userauth1(local_user, server_user, host, sensitive); |
1298 | #else | ||
1299 | fatal("ssh1 is not unsupported"); | ||
1300 | #endif | ||
1297 | } | 1301 | } |
1298 | free(local_user); | 1302 | free(local_user); |
1299 | } | 1303 | } |