tests/qtest/tpm: Declare input buffers const and static
commited943cc934a82fd78102f0df2084a8f3c556716f
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Wed, 2 Sep 2020 08:09:09 +0000 (2 10:09 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 3 Sep 2020 10:47:33 +0000 (3 12:47 +0200)
tree4ecdd681a510997b7584fe3efbd09a5e70316b25
parentdf1a312fea58bb3f83b5d7eba0946d43cb16675f
tests/qtest/tpm: Declare input buffers const and static

The functions using these arrays expect a "const unsigned char *"
argument, it is safe to declare these as 'static const'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200902080909.161034-1-philmd@redhat.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/tpm-tests.c
tests/qtest/tpm-util.c