Array gmac_plaintext in test_cryptodev_gcm_test_vectors.h needs to be changed to static
Fixes: 7495f7594fed ("app/test: add GMAC authentication tests to cryptodev tests") Signed-off-by: Arek Kusztal <arkadiuszx.kusztal at intel.com> --- app/test/test_cryptodev_gcm_test_vectors.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_cryptodev_gcm_test_vectors.h b/app/test/test_cryptodev_gcm_test_vectors.h index 4f6cb8f..f3f8bd3 100644 --- a/app/test/test_cryptodev_gcm_test_vectors.h +++ b/app/test/test_cryptodev_gcm_test_vectors.h @@ -449,8 +449,7 @@ static const struct gcm_test_data gcm_test_case_7 = { }; /** GMAC Test Vectors */ - -uint8_t gmac_plaintext[] = { +static uint8_t gmac_plaintext[] = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, -- 2.1.0