summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_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/ssl_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/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index f3650f238e..d25ac1a1a6 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.356 2021/07/26 03:17:38 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.357 2021/08/30 19:12:25 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 *
@@ -641,7 +641,7 @@ void tls12_record_layer_set_version(struct tls12_record_layer *rl,
641 uint16_t version); 641 uint16_t version);
642void tls12_record_layer_set_initial_epoch(struct tls12_record_layer *rl, 642void tls12_record_layer_set_initial_epoch(struct tls12_record_layer *rl,
643 uint16_t epoch); 643 uint16_t epoch);
644uint16_t tls12_record_layer_initial_epoch(struct tls12_record_layer *rl); 644uint16_t tls12_record_layer_read_epoch(struct tls12_record_layer *rl);
645uint16_t tls12_record_layer_write_epoch(struct tls12_record_layer *rl); 645uint16_t tls12_record_layer_write_epoch(struct tls12_record_layer *rl);
646int tls12_record_layer_use_write_epoch(struct tls12_record_layer *rl, 646int tls12_record_layer_use_write_epoch(struct tls12_record_layer *rl,
647 uint16_t epoch); 647 uint16_t epoch);