summaryrefslogtreecommitdiffstats
path: root/lib/src/protocol/ah.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/protocol/ah.h')
-rw-r--r--lib/src/protocol/ah.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/src/protocol/ah.h b/lib/src/protocol/ah.h
index 0b4171135..f8a05bf38 100644
--- a/lib/src/protocol/ah.h
+++ b/lib/src/protocol/ah.h
@@ -33,6 +33,7 @@ typedef struct
union
{
u16 reserved;
+
struct
{
u8 validationAlgorithm; // As defined in parc_SignerAlgorithm.h
@@ -46,12 +47,8 @@ typedef struct
u32 spi;
u32 seq;
};
- union
- {
- u8 timestamp_as_u8[8];
- u64 timestamp_as_u64;
- }; // Unix timestamp indicating when the signature has been calculated
-
+ // Unix timestamp indicating when the signature has been calculated
+ u8 timestamp_as_u8[8];
};
// ICV would follow
u8 keyId[32]; // Hash of the pub key