diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: kex.h,v 1.38 2005/11/04 05:15:59 djm Exp $ */ | 1 | /* $OpenBSD: kex.h,v 1.39 2006/03/07 09:07:40 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. |
@@ -34,6 +34,7 @@ | |||
34 | #define KEX_DH1 "diffie-hellman-group1-sha1" | 34 | #define KEX_DH1 "diffie-hellman-group1-sha1" |
35 | #define KEX_DH14 "diffie-hellman-group14-sha1" | 35 | #define KEX_DH14 "diffie-hellman-group14-sha1" |
36 | #define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1" | 36 | #define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1" |
37 | #define KEX_DHGEX_SHA256 "diffie-hellman-group-exchange-sha256" | ||
37 | 38 | ||
38 | #define COMP_NONE 0 | 39 | #define COMP_NONE 0 |
39 | #define COMP_ZLIB 1 | 40 | #define COMP_ZLIB 1 |
@@ -63,6 +64,7 @@ enum kex_exchange { | |||
63 | KEX_DH_GRP1_SHA1, | 64 | KEX_DH_GRP1_SHA1, |
64 | KEX_DH_GRP14_SHA1, | 65 | KEX_DH_GRP14_SHA1, |
65 | KEX_DH_GEX_SHA1, | 66 | KEX_DH_GEX_SHA1, |
67 | KEX_DH_GEX_SHA256, | ||
66 | KEX_MAX | 68 | KEX_MAX |
67 | }; | 69 | }; |
68 | 70 | ||