test: fix use after scope problem in ACVP test
authorPauli <pauli@openssl.org>
Sat, 17 Jul 2021 14:47:09 +0000 (00:47 +1000)
committerPauli <pauli@openssl.org>
Mon, 19 Jul 2021 03:08:17 +0000 (13:08 +1000)
commitd9c29baf1a23d2be17b9b4ab8f7b4fe43dd74454
tree456d92c929f4754de696b62ab27cf7a4600113f5
parentca001524971ccd595bc0e9843611e6784adfc981
test: fix use after scope problem in ACVP test

Repeat after me:
    thou shall not use an auto scope variable as a parameter
    that is used out of scope.

Fixes GitHub CI #6305

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/16103)
test/acvp_test.c