summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_local.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-10-13 16:44:22 +0100
committerMatt Caswell <matt@openssl.org>2022-10-20 14:39:33 +0100
commitb9e37f8f573de1951655f6d8684f2f65ffc6905b (patch)
tree4c9de2b8edeb44e20ff40bc09e0ad388f668af98 /ssl/ssl_local.h
parent248a9bf21ad5a61d911765964e2758e0da3c554c (diff)
Convert dtls_write_records to use standard record layer functions
We have standard functions for most of the work that dtls_write_records does - so we convert it to use those functions instead. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19424)
Diffstat (limited to 'ssl/ssl_local.h')
-rw-r--r--ssl/ssl_local.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index fd21d0be82..a1f15a712f 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -1915,11 +1915,8 @@ typedef struct {
# define DTLS1_SKIP_RECORD_HEADER 2
struct dtls1_retransmit_state {
- EVP_CIPHER_CTX *enc_write_ctx; /* cryptographic state */
- EVP_MD_CTX *write_hash; /* used for mac generation */
- COMP_CTX *compress; /* compression */
- SSL_SESSION *session;
- uint16_t epoch;
+ const OSSL_RECORD_METHOD *wrlmethod;
+ OSSL_RECORD_LAYER *wrl;
};
struct hm_header_st {