diff options
author | Sabrina Dubroca <sd@queasysnail.net> | 2023-10-09 22:50:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-13 11:26:09 +0100 |
commit | bee6b7b30706e7693d91cb28c8ff3cb69e094f65 (patch) | |
tree | f471e5c0e1c6e578a24e014ede929e626dcd3b34 /net/tls/tls_device_fallback.c | |
parent | 6d5029e54700b2427581513c533232b02ce05043 (diff) | |
download | linux-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.tar.gz linux-bee6b7b30706e7693d91cb28c8ff3cb69e094f65.tar.bz2 linux-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 <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls_device_fallback.c')
-rw-r--r-- | net/tls/tls_device_fallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_device_fallback.c b/net/tls/tls_device_fallback.c index 1d2b4d83ccab..4e7228f275fa 100644 --- a/net/tls/tls_device_fallback.c +++ b/net/tls/tls_device_fallback.c @@ -54,7 +54,7 @@ static int tls_enc_record(struct aead_request *aead_req, struct scatter_walk *out, int *in_len, struct tls_prot_info *prot) { - unsigned char buf[TLS_HEADER_SIZE + MAX_IV_SIZE]; + unsigned char buf[TLS_HEADER_SIZE + TLS_MAX_IV_SIZE]; const struct tls_cipher_desc *cipher_desc; struct scatterlist sg_in[3]; struct scatterlist sg_out[3]; |