aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/transforms/diffie_hellman.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/transforms/diffie_hellman.h')
-rw-r--r--Source/charon/transforms/diffie_hellman.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/charon/transforms/diffie_hellman.h b/Source/charon/transforms/diffie_hellman.h
index e775cbb15..ab1672d32 100644
--- a/Source/charon/transforms/diffie_hellman.h
+++ b/Source/charon/transforms/diffie_hellman.h
@@ -26,13 +26,13 @@
#include <types.h>
#include <encoding/payloads/transform_substructure.h>
+typedef struct diffie_hellman_t diffie_hellman_t;
+
/**
* Object representing a diffie hellman exchange
*
*/
-typedef struct diffie_hellman_s diffie_hellman_t;
-
-struct diffie_hellman_s {
+struct diffie_hellman_t {
/**
* @brief Returns the shared secret of this diffie hellman exchange