diff options
author | 2021-03-29 16:19:15 +0000 | |
---|---|---|
committer | 2021-03-29 16:19:15 +0000 | |
commit | e3ae3cd6c9c09e2489c5d8b6149d643e1ead7c07 (patch) | |
tree | 93fe29c68535bafb04cda50156ee44eeeed6427a /lib/libssl/ssl_locl.h | |
parent | Prepare to provide EVP_PKEY_new_CMAC_key() (diff) | |
download | wireguard-openbsd-e3ae3cd6c9c09e2489c5d8b6149d643e1ead7c07.tar.xz wireguard-openbsd-e3ae3cd6c9c09e2489c5d8b6149d643e1ead7c07.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 'lib/libssl/ssl_locl.h')
-rw-r--r-- | lib/libssl/ssl_locl.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h index 7f197bbcdff..4b2f98f84d2 100644 --- a/lib/libssl/ssl_locl.h +++ b/lib/libssl/ssl_locl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssl_locl.h,v 1.331 2021/03/27 17:56:28 tb Exp $ */ +/* $OpenBSD: ssl_locl.h,v 1.332 2021/03/29 16:19:15 jsing Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1261,7 +1261,6 @@ int ssl3_handshake_msg_finish(SSL *s, CBB *handshake); int ssl3_handshake_write(SSL *s); int ssl3_record_write(SSL *s, int type); -void tls1_record_sequence_increment(unsigned char *seq); int ssl3_do_change_cipher_spec(SSL *ssl); int dtls1_do_write(SSL *s, int type); |