From bb9d77ce22908b3757e09efd0e6acc47122bfaef Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 18 Nov 2005 14:40:15 +0000 Subject: - changed group_number type to diffie_hellman_group_t --- Source/charon/transforms/diffie_hellman.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Source/charon/transforms/diffie_hellman.h') diff --git a/Source/charon/transforms/diffie_hellman.h b/Source/charon/transforms/diffie_hellman.h index 8313a140a..f0fb58972 100644 --- a/Source/charon/transforms/diffie_hellman.h +++ b/Source/charon/transforms/diffie_hellman.h @@ -24,6 +24,7 @@ #define DIFFIE_HELLMAN_H_ #include "../types.h" +#include "../payloads/transform_substructure.h" /** * Object representing a diffie hellman exchange @@ -107,6 +108,6 @@ struct diffie_hellman_s { * - diffie_hellman_t if successfully * - NULL if out of ressources or dh_group not supported */ -diffie_hellman_t *diffie_hellman_create(u_int16_t dh_group_number); +diffie_hellman_t *diffie_hellman_create(diffie_hellman_group_t dh_group_number); #endif /*DIFFIE_HELLMAN_H_*/ -- cgit v1.2.3