diff options
author | jsing <> | 2021-03-29 16:19:15 +0000 |
---|---|---|
committer | jsing <> | 2021-03-29 16:19:15 +0000 |
commit | 84b53cb9086e02b898c2ed561177d37a66d2e659 (patch) | |
tree | 208986f6a978755c10c6497025772040ee9e9d33 /src/lib/libssl/ssl_locl.h | |
parent | d9dfab150e9c80a3bafbf4effd23e943ab9ba197 (diff) | |
download | openbsd-84b53cb9086e02b898c2ed561177d37a66d2e659.tar.gz openbsd-84b53cb9086e02b898c2ed561177d37a66d2e659.tar.bz2 openbsd-84b53cb9086e02b898c2ed561177d37a66d2e659.zip |
Move the TLSv1.2 record number increment into the new record layer.
This adds checks (based on the TLSv1.3 implementation) to ensure that the
TLS/DTLS sequence numbers do not wrap, as required by the respective RFCs.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 7f197bbcdf..4b2f98f84d 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.331 2021/03/27 17:56:28 tb Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.332 2021/03/29 16:19:15 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 | * |
@@ -1261,7 +1261,6 @@ int ssl3_handshake_msg_finish(SSL *s, CBB *handshake); | |||
1261 | int ssl3_handshake_write(SSL *s); | 1261 | int ssl3_handshake_write(SSL *s); |
1262 | int ssl3_record_write(SSL *s, int type); | 1262 | int ssl3_record_write(SSL *s, int type); |
1263 | 1263 | ||
1264 | void tls1_record_sequence_increment(unsigned char *seq); | ||
1265 | int ssl3_do_change_cipher_spec(SSL *ssl); | 1264 | int ssl3_do_change_cipher_spec(SSL *ssl); |
1266 | 1265 | ||
1267 | int dtls1_do_write(SSL *s, int type); | 1266 | int dtls1_do_write(SSL *s, int type); |