summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-06-21 18:15:25 +1000
committerDarren Tucker <dtucker@zip.com.au>2009-06-21 18:15:25 +1000
commit5b48cdd882579f60217b9aa9a0c09e61e739a917 (patch)
tree75f711e7696f3ec09a404d2c77c5e391e8114227 /kex.h
parent12b4a6504b3f7bad3c144761714fb429669f56d0 (diff)
- andreas@cvs.openbsd.org 2009/05/27 06:36:07
[packet.h packet.c] Add packet_put_int64() and packet_get_int64(), part of a larger change from Martin Forssen.
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/kex.h b/kex.h
index 8e29c90e9..68c80c5a9 100644
--- a/kex.h
+++ b/kex.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: kex.h,v 1.46 2007/06/07 19:37:34 pvalchev Exp $ */ 1/* $OpenBSD: kex.h,v 1.47 2009/05/27 06:34:36 andreas 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.
@@ -30,6 +30,8 @@
30#include <openssl/evp.h> 30#include <openssl/evp.h>
31#include <openssl/hmac.h> 31#include <openssl/hmac.h>
32 32
33#define KEX_COOKIE_LEN 16
34
33#define KEX_DH1 "diffie-hellman-group1-sha1" 35#define KEX_DH1 "diffie-hellman-group1-sha1"
34#define KEX_DH14 "diffie-hellman-group14-sha1" 36#define KEX_DH14 "diffie-hellman-group14-sha1"
35#define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1" 37#define KEX_DHGEX_SHA1 "diffie-hellman-group-exchange-sha1"