diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/d1_lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/d1_lib.c b/src/lib/libssl/d1_lib.c index dbc89e6f46..bc00ab8ca4 100644 --- a/src/lib/libssl/d1_lib.c +++ b/src/lib/libssl/d1_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_lib.c,v 1.54 2021/05/16 13:56:30 jsing Exp $ */ | 1 | /* $OpenBSD: d1_lib.c,v 1.55 2021/06/19 16:38:27 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. |
| @@ -197,6 +197,9 @@ dtls1_clear(SSL *s) | |||
| 197 | memset(s->d1, 0, sizeof(*s->d1)); | 197 | memset(s->d1, 0, sizeof(*s->d1)); |
| 198 | s->d1->internal = internal; | 198 | s->d1->internal = internal; |
| 199 | 199 | ||
| 200 | D1I(s)->processed_rcds.epoch = D1I(s)->r_epoch; | ||
| 201 | D1I(s)->unprocessed_rcds.epoch = D1I(s)->r_epoch + 1; | ||
| 202 | |||
| 200 | if (s->server) { | 203 | if (s->server) { |
| 201 | D1I(s)->cookie_len = sizeof(D1I(s)->cookie); | 204 | D1I(s)->cookie_len = sizeof(D1I(s)->cookie); |
| 202 | } | 205 | } |
