summaryrefslogtreecommitdiff
path: root/myproposal.h
diff options
context:
space:
mode:
Diffstat (limited to 'myproposal.h')
-rw-r--r--myproposal.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/myproposal.h b/myproposal.h
index 597090164..072e36ec7 100644
--- a/myproposal.h
+++ b/myproposal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: myproposal.h,v 1.50 2016/02/09 05:30:04 djm Exp $ */ 1/* $OpenBSD: myproposal.h,v 1.54 2016/09/28 16:33:07 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -84,7 +84,9 @@
84 84
85#ifdef WITH_OPENSSL 85#ifdef WITH_OPENSSL
86# ifdef HAVE_EVP_SHA256 86# ifdef HAVE_EVP_SHA256
87# define KEX_CURVE25519_METHODS "curve25519-sha256@libssh.org," 87# define KEX_CURVE25519_METHODS \
88 "curve25519-sha256," \
89 "curve25519-sha256@libssh.org,"
88# else 90# else
89# define KEX_CURVE25519_METHODS "" 91# define KEX_CURVE25519_METHODS ""
90# endif 92# endif
@@ -120,7 +122,7 @@
120 AESGCM_CIPHER_MODES 122 AESGCM_CIPHER_MODES
121 123
122#define KEX_CLIENT_ENCRYPT KEX_SERVER_ENCRYPT "," \ 124#define KEX_CLIENT_ENCRYPT KEX_SERVER_ENCRYPT "," \
123 "aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc" 125 "aes128-cbc,aes192-cbc,aes256-cbc"
124 126
125#define KEX_SERVER_MAC \ 127#define KEX_SERVER_MAC \
126 "umac-64-etm@openssh.com," \ 128 "umac-64-etm@openssh.com," \
@@ -139,6 +141,7 @@
139#else /* WITH_OPENSSL */ 141#else /* WITH_OPENSSL */
140 142
141#define KEX_SERVER_KEX \ 143#define KEX_SERVER_KEX \
144 "curve25519-sha256," \
142 "curve25519-sha256@libssh.org" 145 "curve25519-sha256@libssh.org"
143#define KEX_DEFAULT_PK_ALG \ 146#define KEX_DEFAULT_PK_ALG \
144 "ssh-ed25519-cert-v01@openssh.com," \ 147 "ssh-ed25519-cert-v01@openssh.com," \
@@ -164,7 +167,7 @@
164 167
165#endif /* WITH_OPENSSL */ 168#endif /* WITH_OPENSSL */
166 169
167#define KEX_DEFAULT_COMP "none,zlib@openssh.com,zlib" 170#define KEX_DEFAULT_COMP "none,zlib@openssh.com"
168#define KEX_DEFAULT_LANG "" 171#define KEX_DEFAULT_LANG ""
169 172
170#define KEX_CLIENT \ 173#define KEX_CLIENT \