From 89c85476bf6f7b13b0330bec0572d273d1b4eb7a Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Wed, 22 Sep 2010 05:01:31 +0000 Subject: add a KexAlgorithms knob to the client and server configuration to allow selection of which key exchange methods are used by ssh(1) and sshd(8) and their order of preference. ok markus@ --- usr.bin/ssh/kex.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh/kex.h') diff --git a/usr.bin/ssh/kex.h b/usr.bin/ssh/kex.h index 339c56bd99c..0279d0dd0dc 100644 --- a/usr.bin/ssh/kex.h +++ b/usr.bin/ssh/kex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.h,v 1.51 2010/09/09 10:45:45 djm Exp $ */ +/* $OpenBSD: kex.h,v 1.52 2010/09/22 05:01:29 djm Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -135,6 +135,8 @@ struct Kex { void (*kex[KEX_MAX])(Kex *); }; +int kex_names_valid(const char *); + Kex *kex_setup(char *[PROPOSAL_MAX]); void kex_finish(Kex *); -- cgit v1.2.3