From 279754d4199f6e80e17b3e08fa261fbfd3e646c5 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Wed, 27 Jul 2022 14:37:27 +0100 Subject: 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 Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18132) --- ssl/ssl_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssl/ssl_local.h') diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h index ea081815a5..7f5c8a0ba5 100644 --- a/ssl/ssl_local.h +++ b/ssl/ssl_local.h @@ -1909,7 +1909,7 @@ struct dtls1_retransmit_state { EVP_MD_CTX *write_hash; /* used for mac generation */ COMP_CTX *compress; /* compression */ SSL_SESSION *session; - unsigned short epoch; + uint16_t epoch; }; struct hm_header_st { -- cgit v1.2.3