summaryrefslogtreecommitdiff
path: root/test/helpers
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-07-27 14:37:27 +0100
committerMatt Caswell <matt@openssl.org>2022-08-18 16:38:14 +0100
commit279754d4199f6e80e17b3e08fa261fbfd3e646c5 (patch)
tree3694ef8afd176801ffb488d59eebcc73cd22f0ea /test/helpers
parent9007412c1e1fd4bb9298901dae36064cd279c02a (diff)
downloadopenssl-new-279754d4199f6e80e17b3e08fa261fbfd3e646c5.tar.gz
Standardise type for epoch
The value for epoch was being represented internally via various types: uint16_t, unsigned short, unsigned int, unsigned long We standardise on uint16_t Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18132)
Diffstat (limited to 'test/helpers')
-rw-r--r--test/helpers/ssltestlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helpers/ssltestlib.c b/test/helpers/ssltestlib.c
index d95cfef6c5..94ea1c53d8 100644
--- a/test/helpers/ssltestlib.c
+++ b/test/helpers/ssltestlib.c
@@ -263,7 +263,7 @@ static void mempacket_free(MEMPACKET *pkt)
typedef struct mempacket_test_ctx_st {
STACK_OF(MEMPACKET) *pkts;
- unsigned int epoch;
+ uint16_t epoch;
unsigned int currrec;
unsigned int currpkt;
unsigned int lastpkt;