diff options
| author | Sabrina Dubroca <[email protected]> | 2023-10-09 20:50:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-13 10:26:09 +0000 |
| commit | bee6b7b30706e7693d91cb28c8ff3cb69e094f65 (patch) | |
| tree | f471e5c0e1c6e578a24e014ede929e626dcd3b34 /net/tls/tls_main.c | |
| parent | tls: store rec_seq directly within cipher_context (diff) | |
| download | kernel-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.tar.gz kernel-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.zip | |
tls: rename MAX_IV_SIZE to TLS_MAX_IV_SIZE
It's defined in include/net/tls.h, avoid using an overly generic name.
Signed-off-by: Sabrina Dubroca <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
| -rw-r--r-- | net/tls/tls_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_main.c b/net/tls/tls_main.c index f705d812fc36..58f13660fe6b 100644 --- a/net/tls/tls_main.c +++ b/net/tls/tls_main.c @@ -59,7 +59,7 @@ enum { }; #define CHECK_CIPHER_DESC(cipher,ci) \ - static_assert(cipher ## _IV_SIZE <= MAX_IV_SIZE); \ + static_assert(cipher ## _IV_SIZE <= TLS_MAX_IV_SIZE); \ static_assert(cipher ## _REC_SEQ_SIZE <= TLS_MAX_REC_SEQ_SIZE); \ static_assert(cipher ## _TAG_SIZE == TLS_TAG_SIZE); \ static_assert(sizeof_field(struct ci, iv) == cipher ## _IV_SIZE); \ |
