summaryrefslogtreecommitdiff
path: root/src/lib/libssl/dtls_locl.h
diff options
context:
space:
mode:
authorjsing <>2021-08-30 19:12:25 +0000
committerjsing <>2021-08-30 19:12:25 +0000
commitcedbde20c0ecfb870c00ce4fe4401f89a9397b6d (patch)
tree2d39ac8fc8532fdfcf26841981b52bd4c01b1e0f /src/lib/libssl/dtls_locl.h
parentabf6f6607dda2d28fb254cd45e519fec1091fc0d (diff)
downloadopenbsd-cedbde20c0ecfb870c00ce4fe4401f89a9397b6d.tar.gz
openbsd-cedbde20c0ecfb870c00ce4fe4401f89a9397b6d.tar.bz2
openbsd-cedbde20c0ecfb870c00ce4fe4401f89a9397b6d.zip
Replace DTLS r_epoch with the read epoch from the TLSv1.2 record layer.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/dtls_locl.h')
-rw-r--r--src/lib/libssl/dtls_locl.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libssl/dtls_locl.h b/src/lib/libssl/dtls_locl.h
index 97f05b26bd..83fb9e0e10 100644
--- a/src/lib/libssl/dtls_locl.h
+++ b/src/lib/libssl/dtls_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: dtls_locl.h,v 1.4 2021/07/26 03:17:38 jsing Exp $ */ 1/* $OpenBSD: dtls_locl.h,v 1.5 2021/08/30 19:12:25 jsing Exp $ */
2/* 2/*
3 * DTLS implementation written by Nagendra Modadugu 3 * DTLS implementation written by Nagendra Modadugu
4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. 4 * (nagendra@cs.stanford.edu) for the OpenSSL project 2005.
@@ -132,13 +132,6 @@ typedef struct dtls1_state_internal_st {
132 unsigned char rcvd_cookie[DTLS1_COOKIE_LENGTH]; 132 unsigned char rcvd_cookie[DTLS1_COOKIE_LENGTH];
133 unsigned int cookie_len; 133 unsigned int cookie_len;
134 134
135 /*
136 * The current data and handshake epoch. This is initially
137 * undefined, and starts at zero once the initial handshake is
138 * completed
139 */
140 unsigned short r_epoch;
141
142 /* records being received in the current epoch */ 135 /* records being received in the current epoch */
143 DTLS1_BITMAP bitmap; 136 DTLS1_BITMAP bitmap;
144 137