diff options
| author | jsing <> | 2020-08-11 18:40:24 +0000 |
|---|---|---|
| committer | jsing <> | 2020-08-11 18:40:24 +0000 |
| commit | fb152356934459b31bbf9e224880648db97b170b (patch) | |
| tree | 040a91072b7ed5858263acb0231c918d777c5831 /src | |
| parent | a9a24d95d08e9eae3c6899a00a9826b3bfdfdc8b (diff) | |
| download | openbsd-fb152356934459b31bbf9e224880648db97b170b.tar.gz openbsd-fb152356934459b31bbf9e224880648db97b170b.tar.bz2 openbsd-fb152356934459b31bbf9e224880648db97b170b.zip | |
Use SSL3_SEQUENCE_SIZE for last_write_sequence[] rather than hardcoding.
ok inoguchi@ tb@
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
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; |
