diff options
author | Matt Caswell <matt@openssl.org> | 2022-07-27 14:37:27 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-08-18 16:38:14 +0100 |
commit | 279754d4199f6e80e17b3e08fa261fbfd3e646c5 (patch) | |
tree | 3694ef8afd176801ffb488d59eebcc73cd22f0ea /ssl/ssl_local.h | |
parent | 9007412c1e1fd4bb9298901dae36064cd279c02a (diff) |
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 'ssl/ssl_local.h')
-rw-r--r-- | ssl/ssl_local.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |