diff options
author | jsing <> | 2021-05-05 19:52:00 +0000 |
---|---|---|
committer | jsing <> | 2021-05-05 19:52:00 +0000 |
commit | 00a09bf96d7f1c78d30414599acdc9f4726ae1d9 (patch) | |
tree | c4972b111b85c35ea051ffda0557306d1ed130c8 /src/lib/libssl/t1_enc.c | |
parent | 61ec18da26d0571bc925e8f60b9f8b60ce5ca1fb (diff) | |
download | openbsd-00a09bf96d7f1c78d30414599acdc9f4726ae1d9.tar.gz openbsd-00a09bf96d7f1c78d30414599acdc9f4726ae1d9.tar.bz2 openbsd-00a09bf96d7f1c78d30414599acdc9f4726ae1d9.zip |
Replace DTLS w_epoch with epoch from TLSv1.2 record layer.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/t1_enc.c')
-rw-r--r-- | src/lib/libssl/t1_enc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index 5a626fb880..57ddecbd77 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: t1_enc.c,v 1.143 2021/05/05 10:05:27 jsing Exp $ */ | 1 | /* $OpenBSD: t1_enc.c,v 1.144 2021/05/05 19:52:00 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -319,8 +319,6 @@ tls1_change_cipher_state(SSL *s, int is_write) | |||
319 | if (!tls12_record_layer_change_write_cipher_state(s->internal->rl, | 319 | if (!tls12_record_layer_change_write_cipher_state(s->internal->rl, |
320 | &mac_key, &key, &iv)) | 320 | &mac_key, &key, &iv)) |
321 | goto err; | 321 | goto err; |
322 | if (SSL_is_dtls(s)) | ||
323 | dtls1_reset_write_seq_numbers(s); | ||
324 | } | 322 | } |
325 | return (1); | 323 | return (1); |
326 | 324 | ||