Commit 475df42e authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/sha512: make const tables static const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 4ccafaca
......@@ -285,7 +285,7 @@ int main(void)
int i, j, k;
AVSHA512 ctx;
unsigned char digest[64];
const int lengths[4] = { 224, 256, 384, 512 };
static const int lengths[4] = { 224, 256, 384, 512 };
for (j = 0; j < 4; j++) {
if (j < 2) printf("Testing SHA-512/%d\n", lengths[j]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment