aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/diffie_hellman.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
committerMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
commit5796aa164d79b2ffaf2839b281d490be6a72d1d8 (patch)
tree4031a623426b19bf03b2c61cd73a504e218fb1fb /Source/charon/transforms/diffie_hellman.c
parent95c61cb956505cdb0a91c8c8cd134dda3aac744d (diff)
downloadstrongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.bz2
strongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.xz
- typedefs changed
Diffstat (limited to 'Source/charon/transforms/diffie_hellman.c')
-rw-r--r--Source/charon/transforms/diffie_hellman.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/charon/transforms/diffie_hellman.c b/Source/charon/transforms/diffie_hellman.c
index 2acd0d960..e018675fe 100644
--- a/Source/charon/transforms/diffie_hellman.c
+++ b/Source/charon/transforms/diffie_hellman.c
@@ -289,12 +289,12 @@ static u_int8_t group18_modulus[] = {
0x60,0xC9,0x80,0xDD,0x98,0xED,0xD3,0xDF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,
};
+typedef struct modulus_info_entry_t modulus_info_entry_t;
+
/**
* Entry of the modulus list
*/
-typedef struct modulus_info_entry_s modulus_info_entry_t;
-
-struct modulus_info_entry_s{
+struct modulus_info_entry_t {
/**
* Group number as it is defined in transform_substructure.h
*/
@@ -328,13 +328,13 @@ static modulus_info_entry_t modulus_info_entries[] = {
{MODP_8192_BIT,group18_modulus,sizeof(group18_modulus),2},
};
+typedef struct private_diffie_hellman_t private_diffie_hellman_t;
+
/**
* Private data of an diffie_hellman_t object.
*
*/
-typedef struct private_diffie_hellman_s private_diffie_hellman_t;
-
-struct private_diffie_hellman_s {
+struct private_diffie_hellman_t {
/**
* public diffie_hellman_t interface
*/