Fix a gcc 11.2.0 warning
authorMatt Caswell <matt@openssl.org>
Fri, 22 Oct 2021 09:17:14 +0000 (10:17 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 27 Oct 2021 11:22:25 +0000 (12:22 +0100)
commit37467b2752f75ce80437120f704452982b7c1998
tree9695c50cbce2e881e15c84111f7170827d8f4863
parent971dbab4ad20193c27e8c3865e92e8f487b89334
Fix a gcc 11.2.0 warning

gcc 11.2.0 is the default on Ubuntu 21.10. It emits a (spurious) warning
when compiling test/packettest.c, which causes --strict-warnings builds
to fail. A simple fix avoids the warning.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/16887)
test/packettest.c