summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2020-08-11 18:40:24 +0000
committerjsing <>2020-08-11 18:40:24 +0000
commite60447c161c889413e5e51194ef31bec0e405a19 (patch)
tree040a91072b7ed5858263acb0231c918d777c5831
parentb63bf24682853eb64f2d233908a01a013219385b (diff)
downloadopenbsd-e60447c161c889413e5e51194ef31bec0e405a19.tar.gz
openbsd-e60447c161c889413e5e51194ef31bec0e405a19.tar.bz2
openbsd-e60447c161c889413e5e51194ef31bec0e405a19.zip
Use SSL3_SEQUENCE_SIZE for last_write_sequence[] rather than hardcoding.
ok inoguchi@ tb@
-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 4faf0f245f..676f404352 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.282 2020/07/07 19:31:11 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.283 2020/08/11 18:40:24 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 *
@@ -960,7 +960,7 @@ typedef struct dtls1_state_internal_st {
960 unsigned short handshake_read_seq; 960 unsigned short handshake_read_seq;
961 961
962 /* save last sequence number for retransmissions */ 962 /* save last sequence number for retransmissions */
963 unsigned char last_write_sequence[8]; 963 unsigned char last_write_sequence[SSL3_SEQUENCE_SIZE];
964 964
965 /* Received handshake records (processed and unprocessed) */ 965 /* Received handshake records (processed and unprocessed) */
966 record_pqueue unprocessed_rcds; 966 record_pqueue unprocessed_rcds;