eiv_len was changed from an int to a size_t in r1.10, so casting it
to a size_t is now a noop.
ok jsing
-/* $OpenBSD: tls12_record_layer.c,v 1.13 2021/01/19 19:07:39 jsing Exp $ */
+/* $OpenBSD: tls12_record_layer.c,v 1.14 2021/01/20 07:05:25 tb Exp $ */
/*
* Copyright (c) 2020 Joel Sing <jsing@openbsd.org>
*
goto err;
}
- plain_len = (size_t)eiv_len + content_len + mac_len;
+ plain_len = eiv_len + content_len + mac_len;
/* Add padding to block size, if necessary. */
if (!tls12_record_protection_block_size(rl->write, &block_size))